#C7D239#C7D239

#C7D239 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 82.9% C 0.168 H 113.6°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#C7D239
RGBrgb(199, 210, 57)
HSLhsl(64, 63%, 52%)
HSVhsv(64, 73%, 82%)
CMYKcmyk(5.2%, 0%, 72.9%, 17.6%)
CIE-LABlab(81.03, -21.91, 69.65)
CIE-LCHlch(81.03, 73.01, 107.46°)
OKLaboklab(82.9% -0.0673 0.1538)
OKLCHoklch(82.9% 0.168 113.6)
XYZxyz(47.3397, 58.5317, 12.6741)
Luminance0.5853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D239 #4439D2
analogous
#D29139 #C7D239 #7AD239
triadic
#C7D239 #39C7D2 #D239C7
tetradic
#C7D239 #39D291 #4439D2 #D2397A
square
#C7D239 #39D291 #4439D2 #D2397A
split-complementary
#C7D239 #397AD2 #9139D2
monochromatic
#6F761B #9EA826 #C7D239 #D5DD6B #E3E99D

Accessibility & contrast

On white

1.65
#C7D239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#C7D239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D239
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D239#FFFFFF#000000##000000
##C7D2391.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C819
Deuteranopia (green-blind)
#E1CB46
Tritanopia (blue-blind)
#D4C5B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d239;
/* rgb */ color: rgb(199, 210, 57);
/* oklch */ color: oklch(82.9% 0.168 113.6);
Tailwind
colors: {
  custom: {
    50: '#dcdf7a',
    500: '#c7d239',
    950: '#000000',
  },
}
SCSS
$custom: #c7d239;
$custom-light: #dcdf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d239",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 57
  },
  "hsl": {
    "h": 64.314,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.82898,
    "c": 0.16786,
    "h": 113.6
  },
  "luminance": 0.58531
}

Semantic roles & 50–950 ramp

primary
#C7D239
secondary
#37317E
accent
#42E64E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D239

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

Preview Lab → · Contrast checker → · Palette generator →

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