#C4CF40#C4CF40

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

Color values

HEX#C4CF40
RGBrgb(196, 207, 64)
HSLhsl(65, 60%, 53%)
HSVhsv(65, 69%, 81%)
CMYKcmyk(5.3%, 0%, 69.1%, 18.8%)
CIE-LABlab(80.03, -21.34, 66.14)
CIE-LCHlch(80.03, 69.50, 107.88°)
OKLaboklab(82.05% -0.0649 0.1476)
OKLCHoklch(82.05% 0.161 113.7)
XYZxyz(46.0045, 56.7325, 13.3765)
Luminance0.5673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CF40 #4B40CF
analogous
#CF9240 #C4CF40 #7DCF40
triadic
#C4CF40 #40C4CF #CF40C4
tetradic
#C4CF40 #40CF92 #4B40CF #CF407D
square
#C4CF40 #40CF92 #4B40CF #CF407D
split-complementary
#C4CF40 #407DCF #9240CF
monochromatic
#70771E #9EA82A #C4CF40 #D3DB71 #E2E8A2

Accessibility & contrast

On white

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

On black

12.35
#C4CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CF40
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CF40#FFFFFF#000000##000000
##C4CF401.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC529
Deuteranopia (green-blind)
#DEC84B
Tritanopia (blue-blind)
#D1C3B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c4cf40;
/* rgb */ color: rgb(196, 207, 64);
/* oklch */ color: oklch(82.0% 0.161 113.7);
Tailwind
colors: {
  custom: {
    50: '#d9dd7d',
    500: '#c4cf40',
    950: '#000000',
  },
}
SCSS
$custom: #c4cf40;
$custom-light: #d9dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cf40",
  "rgb": {
    "r": 196,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 64.615,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.8205,
    "c": 0.16129,
    "h": 113.7
  },
  "luminance": 0.56732
}

Semantic roles & 50–950 ramp

primary
#C4CF40
secondary
#3A347F
accent
#45E351
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C4CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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