#C4C04E#C4C04E

#C4C04E is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.9% C 0.135 H 107.2°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#C4C04E
RGBrgb(196, 192, 78)
HSLhsl(58, 50%, 54%)
HSVhsv(58, 60%, 77%)
CMYKcmyk(0%, 2%, 60.2%, 23.1%)
CIE-LABlab(76.06, -13.00, 56.38)
CIE-LCHlch(76.06, 57.86, 102.99°)
OKLaboklab(78.91% -0.0401 0.1291)
OKLCHoklch(78.91% 0.135 107.2)
XYZxyz(42.9911, 49.9864, 14.5900)
Luminance0.4999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C04E #4E52C4
analogous
#C4854E #C4C04E #8DC44E
triadic
#C4C04E #4EC4C0 #C04EC4
tetradic
#C4C04E #4EC485 #4E52C4 #C44E8D
square
#C4C04E #4EC485 #4E52C4 #C44E8D
split-complementary
#C4C04E #4E8DC4 #854EC4
monochromatic
#726F26 #A09C35 #C4C04E #D3D07C #E3E1AA

Accessibility & contrast

On white

1.91
#C4C04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#C4C04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C04E
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C04E#FFFFFF#000000##000000
##C4C04E1.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB941
Deuteranopia (green-blind)
#D1BE55
Tritanopia (blue-blind)
#D1B4A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c4c04e;
/* rgb */ color: rgb(196, 192, 78);
/* oklch */ color: oklch(78.9% 0.135 107.2);
Tailwind
colors: {
  custom: {
    50: '#d9d284',
    500: '#c4c04e',
    950: '#000000',
  },
}
SCSS
$custom: #c4c04e;
$custom-light: #d9d284;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c04e",
  "rgb": {
    "r": 196,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 57.966,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78914,
    "c": 0.13522,
    "h": 107.2
  },
  "luminance": 0.49985
}

Semantic roles & 50–950 ramp

primary
#C4C04E
secondary
#9E9FD0
accent
#53DA4E
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #C4C04E

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

Preview Lab → · Contrast checker → · Palette generator →

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