#C7B047#C7B047

#C7B047 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.7% C 0.126 H 96.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#C7B047
RGBrgb(199, 176, 71)
HSLhsl(49, 53%, 53%)
HSVhsv(49, 64%, 78%)
CMYKcmyk(0%, 11.6%, 64.3%, 22%)
CIE-LABlab(71.99, -3.91, 55.12)
CIE-LCHlch(71.99, 55.26, 94.06°)
OKLaboklab(75.73% -0.0151 0.1254)
OKLCHoklch(75.73% 0.126 96.9)
XYZxyz(40.2176, 43.6496, 12.2668)
Luminance0.4365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B047 #475EC7
analogous
#C77047 #C7B047 #9EC747
triadic
#C7B047 #47C7B0 #B047C7
tetradic
#C7B047 #47C770 #475EC7 #C7479E
square
#C7B047 #47C770 #475EC7 #C7479E
split-complementary
#C7B047 #479EC7 #7047C7
monochromatic
#716322 #A08C31 #C7B047 #D5C476 #E4D8A5

Accessibility & contrast

On white

2.16
#C7B047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#C7B047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B047
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B047#FFFFFF#000000##000000
##C7B0471.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC3B
Deuteranopia (green-blind)
#C7B44C
Tritanopia (blue-blind)
#D6A39A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c7b047;
/* rgb */ color: rgb(199, 176, 71);
/* oklch */ color: oklch(75.7% 0.126 96.9);
Tailwind
colors: {
  custom: {
    50: '#dbc77f',
    500: '#c7b047',
    950: '#000000',
  },
}
SCSS
$custom: #c7b047;
$custom-light: #dbc77f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b047",
  "rgb": {
    "r": 199,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 49.219,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75727,
    "c": 0.1263,
    "h": 96.9
  },
  "luminance": 0.43648
}

Semantic roles & 50–950 ramp

primary
#C7B047
secondary
#99A3D1
accent
#65DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B047

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C7B047 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva