#C4CE2D#C4CE2D

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

Color values

HEX#C4CE2D
RGBrgb(196, 206, 45)
HSLhsl(64, 64%, 49%)
HSVhsv(64, 78%, 81%)
CMYKcmyk(4.9%, 0%, 78.2%, 19.2%)
CIE-LABlab(79.65, -21.70, 72.00)
CIE-LCHlch(79.65, 75.20, 106.77°)
OKLaboklab(81.72% -0.0676 0.1568)
OKLCHoklch(81.72% 0.171 113.3)
XYZxyz(45.3114, 56.0688, 10.9176)
Luminance0.5607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CE2D #372DCE
analogous
#CE882D #C4CE2D #74CE2D
triadic
#C4CE2D #2DC4CE #CE2DC4
tetradic
#C4CE2D #2DCE88 #372DCE #CE2D74
square
#C4CE2D #2DCE88 #372DCE #CE2D74
split-complementary
#C4CE2D #2D74CE #882DCE
monochromatic
#646A17 #949C22 #C4CE2D #D4DC5D #E1E78F

Accessibility & contrast

On white

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

On black

12.21
#C4CE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CE2D
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CE2D#FFFFFF#000000##000000
##C4CE2D1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4ce2d;
/* rgb */ color: rgb(196, 206, 45);
/* oklch */ color: oklch(81.7% 0.171 113.3);
Tailwind
colors: {
  custom: {
    50: '#dadc74',
    500: '#c4ce2d',
    950: '#000000',
  },
}
SCSS
$custom: #c4ce2d;
$custom-light: #dadc74;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ce2d",
  "rgb": {
    "r": 196,
    "g": 206,
    "b": 45
  },
  "hsl": {
    "h": 63.727,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.81717,
    "c": 0.17073,
    "h": 113.3
  },
  "luminance": 0.56068
}

Semantic roles & 50–950 ramp

primary
#C4CE2D
secondary
#302C73
accent
#41E74B
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C4CE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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