#C4C94E#C4C94E

#C4C94E is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.9% C 0.145 H 111.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#C4C94E
RGBrgb(196, 201, 78)
HSLhsl(62, 53%, 55%)
HSVhsv(62, 61%, 79%)
CMYKcmyk(2.5%, 0%, 61.2%, 21.2%)
CIE-LABlab(78.50, -17.54, 59.02)
CIE-LCHlch(78.50, 61.57, 106.55°)
OKLaboklab(80.86% -0.0529 0.1347)
OKLCHoklch(80.86% 0.145 111.4)
XYZxyz(45.0280, 54.0602, 15.2689)
Luminance0.5406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C94E #534EC9
analogous
#C9914E #C4C94E #87C94E
triadic
#C4C94E #4EC4C9 #C94EC4
tetradic
#C4C94E #4EC991 #534EC9 #C94E87
square
#C4C94E #4EC991 #534EC9 #C94E87
split-complementary
#C4C94E #4E87C9 #914EC9
monochromatic
#757825 #A2A733 #C4C94E #D4D77D #E3E6AC

Accessibility & contrast

On white

1.78
#C4C94E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#C4C94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C94E
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C94E#FFFFFF#000000##000000
##C4C94E1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C03F
Deuteranopia (green-blind)
#D8C456
Tritanopia (blue-blind)
#D1BDAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c4c94e;
/* rgb */ color: rgb(196, 201, 78);
/* oklch */ color: oklch(80.9% 0.145 111.4);
Tailwind
colors: {
  custom: {
    50: '#d9d985',
    500: '#c4c94e',
    950: '#000000',
  },
}
SCSS
$custom: #c4c94e;
$custom-light: #d9d985;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c94e",
  "rgb": {
    "r": 196,
    "g": 201,
    "b": 78
  },
  "hsl": {
    "h": 62.439,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80858,
    "c": 0.14473,
    "h": 111.4
  },
  "luminance": 0.54059
}

Semantic roles & 50–950 ramp

primary
#C4C94E
secondary
#3E3B80
accent
#4BDD51
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C4C94E

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

Preview Lab → · Contrast checker → · Palette generator →

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