#C4CF42#C4CF42

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

Color values

HEX#C4CF42
RGBrgb(196, 207, 66)
HSLhsl(65, 59%, 54%)
HSVhsv(65, 68%, 81%)
CMYKcmyk(5.3%, 0%, 68.1%, 18.8%)
CIE-LABlab(80.04, -21.23, 65.42)
CIE-LCHlch(80.04, 68.78, 107.98°)
OKLaboklab(82.07% -0.0645 0.1464)
OKLCHoklch(82.07% 0.16 113.8)
XYZxyz(46.0624, 56.7557, 13.6816)
Luminance0.5675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CF42 #4D42CF
analogous
#CF9342 #C4CF42 #7DCF42
triadic
#C4CF42 #42C4CF #CF42C4
tetradic
#C4CF42 #42CF93 #4D42CF #CF427D
square
#C4CF42 #42CF93 #4D42CF #CF427D
split-complementary
#C4CF42 #427DCF #9342CF
monochromatic
#71781F #9FA92B #C4CF42 #D3DB73 #E2E8A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4CF42#FFFFFF#000000##000000
##C4CF421.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)
#DEC52C
Deuteranopia (green-blind)
#DEC84C
Tritanopia (blue-blind)
#D1C3B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c4cf42;
/* rgb */ color: rgb(196, 207, 66);
/* oklch */ color: oklch(82.1% 0.160 113.8);
Tailwind
colors: {
  custom: {
    50: '#d9dd7f',
    500: '#c4cf42',
    950: '#000000',
  },
}
SCSS
$custom: #c4cf42;
$custom-light: #d9dd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cf42",
  "rgb": {
    "r": 196,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 64.681,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.82065,
    "c": 0.15999,
    "h": 113.8
  },
  "luminance": 0.56755
}

Semantic roles & 50–950 ramp

primary
#C4CF42
secondary
#3B3580
accent
#45E351
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C4CF42

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

Preview Lab → · Contrast checker → · Palette generator →

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