#C4CF3A#C4CF3A

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

Color values

HEX#C4CF3A
RGBrgb(196, 207, 58)
HSLhsl(64, 61%, 52%)
HSVhsv(64, 72%, 81%)
CMYKcmyk(5.3%, 0%, 72%, 18.8%)
CIE-LABlab(79.99, -21.64, 68.24)
CIE-LCHlch(79.99, 71.59, 107.60°)
OKLaboklab(82.01% -0.0663 0.1511)
OKLCHoklch(82.01% 0.165 113.7)
XYZxyz(45.8429, 56.6678, 12.5252)
Luminance0.5667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CF3A #453ACF
analogous
#CF903A #C4CF3A #79CF3A
triadic
#C4CF3A #3AC4CF #CF3AC4
tetradic
#C4CF3A #3ACF90 #453ACF #CF3A79
square
#C4CF3A #3ACF90 #453ACF #CF3A79
split-complementary
#C4CF3A #3A79CF #903ACF
monochromatic
#6C731C #9BA428 #C4CF3A #D3DB6B #E1E79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4CF3A#FFFFFF#000000##000000
##C4CF3A1.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)
#DEC51D
Deuteranopia (green-blind)
#DEC846
Tritanopia (blue-blind)
#D1C3B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c4cf3a;
/* rgb */ color: rgb(196, 207, 58);
/* oklch */ color: oklch(82.0% 0.165 113.7);
Tailwind
colors: {
  custom: {
    50: '#d9dd7a',
    500: '#c4cf3a',
    950: '#000000',
  },
}
SCSS
$custom: #c4cf3a;
$custom-light: #d9dd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cf3a",
  "rgb": {
    "r": 196,
    "g": 207,
    "b": 58
  },
  "hsl": {
    "h": 64.43,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.8201,
    "c": 0.16498,
    "h": 113.7
  },
  "luminance": 0.56667
}

Semantic roles & 50–950 ramp

primary
#C4CF3A
secondary
#37327B
accent
#44E450
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C4CF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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