#C4CE31#C4CE31

#C4CE31 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.7% C 0.169 H 113.3°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#C4CE31
RGBrgb(196, 206, 49)
HSLhsl(64, 62%, 50%)
HSVhsv(64, 76%, 81%)
CMYKcmyk(4.9%, 0%, 76.2%, 19.2%)
CIE-LABlab(79.67, -21.55, 70.85)
CIE-LCHlch(79.67, 74.05, 106.92°)
OKLaboklab(81.74% -0.0668 0.155)
OKLCHoklch(81.74% 0.169 113.3)
XYZxyz(45.3921, 56.1011, 11.3426)
Luminance0.5610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CE31 #3B31CE
analogous
#CE8A31 #C4CE31 #75CE31
triadic
#C4CE31 #31C4CE #CE31C4
tetradic
#C4CE31 #31CE8A #3B31CE #CE3175
square
#C4CE31 #31CE8A #3B31CE #CE3175
split-complementary
#C4CE31 #3175CE #8A31CE
monochromatic
#666B19 #959D25 #C4CE31 #D2DA62 #E0E694

Accessibility & contrast

On white

1.72
#C4CE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#C4CE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CE31
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CE31#FFFFFF#000000##000000
##C4CE311.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC402
Deuteranopia (green-blind)
#DEC73F
Tritanopia (blue-blind)
#D1C1B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c4ce31;
/* rgb */ color: rgb(196, 206, 49);
/* oklch */ color: oklch(81.7% 0.169 113.3);
Tailwind
colors: {
  custom: {
    50: '#dadc76',
    500: '#c4ce31',
    950: '#000000',
  },
}
SCSS
$custom: #c4ce31;
$custom-light: #dadc76;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ce31",
  "rgb": {
    "r": 196,
    "g": 206,
    "b": 49
  },
  "hsl": {
    "h": 63.822,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.81737,
    "c": 0.16882,
    "h": 113.3
  },
  "luminance": 0.561
}

Semantic roles & 50–950 ramp

primary
#C4CE31
secondary
#332E75
accent
#43E54D
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C4CE31

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

Preview Lab → · Contrast checker → · Palette generator →

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