#C2CF5A#C2CF5A

#C2CF5A is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.1% C 0.142 H 114.9°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#C2CF5A
RGBrgb(194, 207, 90)
HSLhsl(67, 55%, 58%)
HSVhsv(67, 57%, 81%)
CMYKcmyk(6.3%, 0%, 56.5%, 18.8%)
CIE-LABlab(80.09, -20.45, 55.50)
CIE-LCHlch(80.09, 59.15, 110.22°)
OKLaboklab(82.13% -0.0597 0.1288)
OKLCHoklch(82.13% 0.142 114.9)
XYZxyz(46.4073, 56.8339, 18.1962)
Luminance0.5683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF5A #675ACF
analogous
#CFA25A #C2CF5A #87CF5A
triadic
#C2CF5A #5AC2CF #CF5AC2
tetradic
#C2CF5A #5ACFA2 #675ACF #CF5A87
square
#C2CF5A #5ACFA2 #675ACF #CF5A87
split-complementary
#C2CF5A #5A87CF #A25ACF
monochromatic
#7D8727 #A8B735 #C2CF5A #D4DD89 #E5EBB9

Accessibility & contrast

On white

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

On black

12.37
#C2CF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CF5A
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CF5A#FFFFFF#000000##000000
##C2CF5A1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC64E
Deuteranopia (green-blind)
#DBC861
Tritanopia (blue-blind)
#CDC4B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c2cf5a;
/* rgb */ color: rgb(194, 207, 90);
/* oklch */ color: oklch(82.1% 0.142 114.9);
Tailwind
colors: {
  custom: {
    50: '#d7dd8d',
    500: '#c2cf5a',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf5a;
$custom-light: #d7dd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf5a",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 90
  },
  "hsl": {
    "h": 66.667,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82126,
    "c": 0.14197,
    "h": 114.9
  },
  "luminance": 0.56833
}

Semantic roles & 50–950 ramp

primary
#C2CF5A
secondary
#483F8E
accent
#4ADE5A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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