#C2CF4F#C2CF4F

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

Color values

HEX#C2CF4F
RGBrgb(194, 207, 79)
HSLhsl(66, 57%, 56%)
HSVhsv(66, 62%, 81%)
CMYKcmyk(6.3%, 0%, 61.8%, 18.8%)
CIE-LABlab(79.99, -21.25, 60.15)
CIE-LCHlch(79.99, 63.80, 109.46°)
OKLaboklab(82.02% -0.0631 0.1373)
OKLCHoklch(82.02% 0.151 114.7)
XYZxyz(45.9733, 56.6602, 15.9103)
Luminance0.5666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF4F #5C4FCF
analogous
#CF9C4F #C2CF4F #82CF4F
triadic
#C2CF4F #4FC2CF #CF4FC2
tetradic
#C2CF4F #4FCF9C #5C4FCF #CF4F82
square
#C2CF4F #4FCF9C #5C4FCF #CF4F82
split-complementary
#C2CF4F #4F82CF #9C4FCF
monochromatic
#778123 #A4B130 #C2CF4F #D3DC7F #E3E9AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CF4F#FFFFFF#000000##000000
##C2CF4F1.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)
#DDC53F
Deuteranopia (green-blind)
#DCC857
Tritanopia (blue-blind)
#CEC4B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cf4f;
/* rgb */ color: rgb(194, 207, 79);
/* oklch */ color: oklch(82.0% 0.151 114.7);
Tailwind
colors: {
  custom: {
    50: '#d7dd86',
    500: '#c2cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf4f;
$custom-light: #d7dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf4f",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 66.094,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82016,
    "c": 0.15113,
    "h": 114.7
  },
  "luminance": 0.56659
}

Semantic roles & 50–950 ramp

primary
#C2CF4F
secondary
#423A88
accent
#47E057
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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