#C2CF51#C2CF51

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

Color values

HEX#C2CF51
RGBrgb(194, 207, 81)
HSLhsl(66, 57%, 56%)
HSVhsv(66, 61%, 81%)
CMYKcmyk(6.3%, 0%, 60.9%, 18.8%)
CIE-LABlab(80.00, -21.12, 59.33)
CIE-LCHlch(80.00, 62.98, 109.59°)
OKLaboklab(82.03% -0.0625 0.1358)
OKLCHoklch(82.03% 0.15 114.7)
XYZxyz(46.0472, 56.6898, 16.2995)
Luminance0.5669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF51 #5E51CF
analogous
#CF9D51 #C2CF51 #83CF51
triadic
#C2CF51 #51C2CF #CF51C2
tetradic
#C2CF51 #51CF9D #5E51CF #CF5183
square
#C2CF51 #51CF9D #5E51CF #CF5183
split-complementary
#C2CF51 #5183CF #9D51CF
monochromatic
#788224 #A4B231 #C2CF51 #D3DC81 #E4E9B1

Accessibility & contrast

On white

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

On black

12.34
#C2CF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CF51
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CF51#FFFFFF#000000##000000
##C2CF511.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2cf51;
/* rgb */ color: rgb(194, 207, 81);
/* oklch */ color: oklch(82.0% 0.150 114.7);
Tailwind
colors: {
  custom: {
    50: '#d7dd87',
    500: '#c2cf51',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf51;
$custom-light: #d7dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf51",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 66.19,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82034,
    "c": 0.14954,
    "h": 114.7
  },
  "luminance": 0.56689
}

Semantic roles & 50–950 ramp

primary
#C2CF51
secondary
#433B89
accent
#48E057
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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