#C4CA1A#C4CA1A

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

Color values

HEX#C4CA1A
RGBrgb(196, 202, 26)
HSLhsl(62, 77%, 45%)
HSVhsv(62, 87%, 79%)
CMYKcmyk(3%, 0%, 87.1%, 20.8%)
CIE-LABlab(78.49, -20.29, 75.51)
CIE-LCHlch(78.49, 78.19, 105.04°)
OKLaboklab(80.77% -0.0648 0.1613)
OKLCHoklch(80.77% 0.174 111.9)
XYZxyz(44.0736, 54.0526, 9.0886)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CA1A #201ACA
analogous
#CA781A #C4CA1A #6CCA1A
triadic
#C4CA1A #1AC4CA #CA1AC4
tetradic
#C4CA1A #1ACA78 #201ACA #CA1A6C
square
#C4CA1A #1ACA78 #201ACA #CA1A6C
split-complementary
#C4CA1A #1A6CCA #781ACA
monochromatic
#5B5E0C #8F9413 #C4CA1A #E0E63B #E9ED72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4CA1A#FFFFFF#000000##000000
##C4CA1A1.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)
#DAC000
Deuteranopia (green-blind)
#DBC42F
Tritanopia (blue-blind)
#D2BDAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c4ca1a;
/* rgb */ color: rgb(196, 202, 26);
/* oklch */ color: oklch(80.8% 0.174 111.9);
Tailwind
colors: {
  custom: {
    50: '#dad96d',
    500: '#c4ca1a',
    950: '#000000',
  },
}
SCSS
$custom: #c4ca1a;
$custom-light: #dad96d;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ca1a",
  "rgb": {
    "r": 196,
    "g": 202,
    "b": 26
  },
  "hsl": {
    "h": 62.045,
    "s": 77.193,
    "l": 44.706
  },
  "oklch": {
    "l": 0.80766,
    "c": 0.17382,
    "h": 111.9
  },
  "luminance": 0.54051
}

Semantic roles & 50–950 ramp

primary
#C4CA1A
secondary
#221F69
accent
#34F43B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C4CA1A

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

Preview Lab → · Contrast checker → · Palette generator →

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