#C2CF52#C2CF52

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

Color values

HEX#C2CF52
RGBrgb(194, 207, 82)
HSLhsl(66, 57%, 57%)
HSVhsv(66, 60%, 81%)
CMYKcmyk(6.3%, 0%, 60.4%, 18.8%)
CIE-LABlab(80.01, -21.05, 58.92)
CIE-LCHlch(80.01, 62.56, 109.66°)
OKLaboklab(82.04% -0.0622 0.1351)
OKLCHoklch(82.04% 0.149 114.7)
XYZxyz(46.0850, 56.7049, 16.4984)
Luminance0.5670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF52 #5F52CF
analogous
#CF9E52 #C2CF52 #84CF52
triadic
#C2CF52 #52C2CF #CF52C2
tetradic
#C2CF52 #52CF9E #5F52CF #CF5284
square
#C2CF52 #52CF9E #5F52CF #CF5284
split-complementary
#C2CF52 #5284CF #9E52CF
monochromatic
#798224 #A5B231 #C2CF52 #D3DC82 #E4EAB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CF52#FFFFFF#000000##000000
##C2CF521.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)
#DDC543
Deuteranopia (green-blind)
#DCC85A
Tritanopia (blue-blind)
#CEC4B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cf52;
/* rgb */ color: rgb(194, 207, 82);
/* oklch */ color: oklch(82.0% 0.149 114.7);
Tailwind
colors: {
  custom: {
    50: '#d7dd88',
    500: '#c2cf52',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf52;
$custom-light: #d7dd88;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf52",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 66.24,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82044,
    "c": 0.14873,
    "h": 114.7
  },
  "luminance": 0.56704
}

Semantic roles & 50–950 ramp

primary
#C2CF52
secondary
#443C8A
accent
#48E058
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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