#C4CE2B#C4CE2B

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

Color values

HEX#C4CE2B
RGBrgb(196, 206, 43)
HSLhsl(64, 65%, 49%)
HSVhsv(64, 79%, 81%)
CMYKcmyk(4.9%, 0%, 79.1%, 19.2%)
CIE-LABlab(79.64, -21.77, 72.55)
CIE-LCHlch(79.64, 75.75, 106.70°)
OKLaboklab(81.71% -0.0679 0.1576)
OKLCHoklch(81.71% 0.172 113.3)
XYZxyz(45.2738, 56.0538, 10.7196)
Luminance0.5605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CE2B #352BCE
analogous
#CE872B #C4CE2B #73CE2B
triadic
#C4CE2B #2BC4CE #CE2BC4
tetradic
#C4CE2B #2BCE87 #352BCE #CE2B73
square
#C4CE2B #2BCE87 #352BCE #CE2B73
split-complementary
#C4CE2B #2B73CE #872BCE
monochromatic
#646916 #949B20 #C4CE2B #D4DC5A #E1E78C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4CE2B#FFFFFF#000000##000000
##C4CE2B1.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)
#DEC73B
Tritanopia (blue-blind)
#D2C1B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c4ce2b;
/* rgb */ color: rgb(196, 206, 43);
/* oklch */ color: oklch(81.7% 0.172 113.3);
Tailwind
colors: {
  custom: {
    50: '#dadc74',
    500: '#c4ce2b',
    950: '#000000',
  },
}
SCSS
$custom: #c4ce2b;
$custom-light: #dadc74;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ce2b",
  "rgb": {
    "r": 196,
    "g": 206,
    "b": 43
  },
  "hsl": {
    "h": 63.681,
    "s": 65.462,
    "l": 48.824
  },
  "oklch": {
    "l": 0.81707,
    "c": 0.17163,
    "h": 113.3
  },
  "luminance": 0.56053
}

Semantic roles & 50–950 ramp

primary
#C4CE2B
secondary
#2F2B73
accent
#3FE84A
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C4CE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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