#C4CC3E#C4CC3E

#C4CC3E is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.4% C 0.159 H 112.6°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#C4CC3E
RGBrgb(196, 204, 62)
HSLhsl(63, 58%, 52%)
HSVhsv(63, 70%, 80%)
CMYKcmyk(3.9%, 0%, 69.6%, 20%)
CIE-LABlab(79.20, -19.97, 66.05)
CIE-LCHlch(79.20, 69.00, 106.83°)
OKLaboklab(81.38% -0.0613 0.1471)
OKLCHoklch(81.38% 0.159 112.6)
XYZxyz(45.2287, 55.2703, 12.8422)
Luminance0.5527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC3E #463ECC
analogous
#CC8D3E #C4CC3E #7DCC3E
triadic
#C4CC3E #3EC4CC #CC3EC4
tetradic
#C4CC3E #3ECC8D #463ECC #CC3E7D
square
#C4CC3E #3ECC8D #463ECC #CC3E7D
split-complementary
#C4CC3E #3E7DCC #8D3ECC
monochromatic
#6D721E #9BA22B #C4CC3E #D3D96E #E2E69F

Accessibility & contrast

On white

1.74
#C4CC3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#C4CC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CC3E
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CC3E#FFFFFF#000000##000000
##C4CC3E1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC326
Deuteranopia (green-blind)
#DBC649
Tritanopia (blue-blind)
#D1C0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c4cc3e;
/* rgb */ color: rgb(196, 204, 62);
/* oklch */ color: oklch(81.4% 0.159 112.6);
Tailwind
colors: {
  custom: {
    50: '#d9db7c',
    500: '#c4cc3e',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc3e;
$custom-light: #d9db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc3e",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 62
  },
  "hsl": {
    "h": 63.38,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.8138,
    "c": 0.15939,
    "h": 112.6
  },
  "luminance": 0.55269
}

Semantic roles & 50–950 ramp

primary
#C4CC3E
secondary
#38347B
accent
#46E14F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4CC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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