#C2CF4A#C2CF4A

#C2CF4A is a light, vivid yellow. Relative luminance 0.566; OKLCH L 82.0% C 0.155 H 114.6°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#C2CF4A
RGBrgb(194, 207, 74)
HSLhsl(66, 58%, 55%)
HSVhsv(66, 64%, 81%)
CMYKcmyk(6.3%, 0%, 64.3%, 18.8%)
CIE-LABlab(79.95, -21.58, 62.16)
CIE-LCHlch(79.95, 65.80, 109.15°)
OKLaboklab(81.97% -0.0645 0.1409)
OKLCHoklch(81.97% 0.155 114.6)
XYZxyz(45.7981, 56.5902, 14.9876)
Luminance0.5659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF4A #574ACF
analogous
#CF9A4A #C2CF4A #7FCF4A
triadic
#C2CF4A #4AC2CF #CF4AC2
tetradic
#C2CF4A #4ACF9A #574ACF #CF4A7F
square
#C2CF4A #4ACF9A #574ACF #CF4A7F
split-complementary
#C2CF4A #4A7FCF #9A4ACF
monochromatic
#747D21 #A1AE2E #C2CF4A #D2DC7A #E3E9AB

Accessibility & contrast

On white

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

On black

12.32
#C2CF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CF4A
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CF4A#FFFFFF#000000##000000
##C2CF4A1.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC538
Deuteranopia (green-blind)
#DDC753
Tritanopia (blue-blind)
#CEC3B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cf4a;
/* rgb */ color: rgb(194, 207, 74);
/* oklch */ color: oklch(82.0% 0.155 114.6);
Tailwind
colors: {
  custom: {
    50: '#d7dd83',
    500: '#c2cf4a',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf4a;
$custom-light: #d7dd83;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf4a",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 74
  },
  "hsl": {
    "h": 65.865,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81971,
    "c": 0.15494,
    "h": 114.6
  },
  "luminance": 0.56589
}

Semantic roles & 50–950 ramp

primary
#C2CF4A
secondary
#403885
accent
#46E156
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2CF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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