#C2CF4E#C2CF4E

#C2CF4E is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.0% C 0.152 H 114.7°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#C2CF4E
RGBrgb(194, 207, 78)
HSLhsl(66, 57%, 56%)
HSVhsv(66, 62%, 81%)
CMYKcmyk(6.3%, 0%, 62.3%, 18.8%)
CIE-LABlab(79.98, -21.32, 60.56)
CIE-LCHlch(79.98, 64.21, 109.40°)
OKLaboklab(82.01% -0.0634 0.138)
OKLCHoklch(82.01% 0.152 114.7)
XYZxyz(45.9372, 56.6458, 15.7201)
Luminance0.5665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF4E #5B4ECF
analogous
#CF9C4E #C2CF4E #81CF4E
triadic
#C2CF4E #4EC2CF #CF4EC2
tetradic
#C2CF4E #4ECF9C #5B4ECF #CF4E81
square
#C2CF4E #4ECF9C #5B4ECF #CF4E81
split-complementary
#C2CF4E #4E81CF #9C4ECF
monochromatic
#778023 #A3B030 #C2CF4E #D3DC7E #E3E9AE

Accessibility & contrast

On white

1.70
#C2CF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#C2CF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CF4E
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CF4E#FFFFFF#000000##000000
##C2CF4E1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53E
Deuteranopia (green-blind)
#DCC757
Tritanopia (blue-blind)
#CEC4B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cf4e;
/* rgb */ color: rgb(194, 207, 78);
/* oklch */ color: oklch(82.0% 0.152 114.7);
Tailwind
colors: {
  custom: {
    50: '#d7dd85',
    500: '#c2cf4e',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf4e;
$custom-light: #d7dd85;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf4e",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 78
  },
  "hsl": {
    "h": 66.047,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82006,
    "c": 0.15191,
    "h": 114.7
  },
  "luminance": 0.56645
}

Semantic roles & 50–950 ramp

primary
#C2CF4E
secondary
#423A87
accent
#47E157
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2CF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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