#C7C439#C7C439

#C7C439 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.9% C 0.154 H 108.2°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#C7C439
RGBrgb(199, 196, 57)
HSLhsl(59, 56%, 50%)
HSVhsv(59, 71%, 78%)
CMYKcmyk(0%, 1.5%, 71.4%, 22%)
CIE-LABlab(77.23, -14.98, 66.01)
CIE-LCHlch(77.23, 67.69, 102.78°)
OKLaboklab(79.86% -0.048 0.1461)
OKLCHoklch(79.86% 0.154 108.2)
XYZxyz(44.0333, 51.9188, 11.5719)
Luminance0.5192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C439 #393CC7
analogous
#C77D39 #C7C439 #83C739
triadic
#C7C439 #39C7C4 #C439C7
tetradic
#C7C439 #39C77D #393CC7 #C73983
square
#C7C439 #39C77D #393CC7 #C73983
split-complementary
#C7C439 #3983C7 #7D39C7
monochromatic
#68671D #98962B #C7C439 #D4D269 #E2E098

Accessibility & contrast

On white

1.84
#C7C439 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#C7C439 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C439
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C439#FFFFFF#000000##000000
##C7C4391.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC20
Deuteranopia (green-blind)
#D6C143
Tritanopia (blue-blind)
#D5B7A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c7c439;
/* rgb */ color: rgb(199, 196, 57);
/* oklch */ color: oklch(79.9% 0.154 108.2);
Tailwind
colors: {
  custom: {
    50: '#dcd579',
    500: '#c7c439',
    950: '#000000',
  },
}
SCSS
$custom: #c7c439;
$custom-light: #dcd579;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c439",
  "rgb": {
    "r": 199,
    "g": 196,
    "b": 57
  },
  "hsl": {
    "h": 58.732,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79858,
    "c": 0.15376,
    "h": 108.2
  },
  "luminance": 0.51917
}

Semantic roles & 50–950 ramp

primary
#C7C439
secondary
#323372
accent
#4CDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C439

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

Preview Lab → · Contrast checker → · Palette generator →

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