#C7B939#C7B939

#C7B939 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.5% C 0.144 H 103.0°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#C7B939
RGBrgb(199, 185, 57)
HSLhsl(54, 56%, 50%)
HSVhsv(54, 71%, 78%)
CMYKcmyk(0%, 7%, 71.4%, 22%)
CIE-LABlab(74.28, -9.37, 63.14)
CIE-LCHlch(74.28, 63.83, 98.44°)
OKLaboklab(77.51% -0.0322 0.14)
OKLCHoklch(77.51% 0.144 103)
XYZxyz(41.6425, 47.1372, 10.7750)
Luminance0.4713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B939 #3947C7
analogous
#C77239 #C7B939 #8EC739
triadic
#C7B939 #39C7B9 #B939C7
tetradic
#C7B939 #39C772 #3947C7 #C7398E
square
#C7B939 #39C772 #3947C7 #C7398E
split-complementary
#C7B939 #398EC7 #7239C7
monochromatic
#68611D #988D2B #C7B939 #D4CA69 #E2DB98

Accessibility & contrast

On white

2.01
#C7B939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#C7B939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B939
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B939#FFFFFF#000000##000000
##C7B9391.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB324
Deuteranopia (green-blind)
#CEBA42
Tritanopia (blue-blind)
#D6ACA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c7b939;
/* rgb */ color: rgb(199, 185, 57);
/* oklch */ color: oklch(77.5% 0.144 103.0);
Tailwind
colors: {
  custom: {
    50: '#dccd78',
    500: '#c7b939',
    950: '#000000',
  },
}
SCSS
$custom: #c7b939;
$custom-light: #dccd78;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b939",
  "rgb": {
    "r": 199,
    "g": 185,
    "b": 57
  },
  "hsl": {
    "h": 54.085,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77505,
    "c": 0.14368,
    "h": 103
  },
  "luminance": 0.47135
}

Semantic roles & 50–950 ramp

primary
#C7B939
secondary
#8E94CE
accent
#57DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#151309
muted
#84827B

Preview Lab

Preview with #C7B939

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

Preview Lab → · Contrast checker → · Palette generator →

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