#C4C22D#C4C22D

#C4C22D is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.1% C 0.159 H 108.7°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#C4C22D
RGBrgb(196, 194, 45)
HSLhsl(59, 63%, 47%)
HSVhsv(59, 77%, 77%)
CMYKcmyk(0%, 1%, 77%, 23.1%)
CIE-LABlab(76.38, -15.76, 69.07)
CIE-LCHlch(76.38, 70.84, 102.85°)
OKLaboklab(79.1% -0.0511 0.1505)
OKLCHoklch(79.1% 0.159 108.7)
XYZxyz(42.5321, 50.5102, 9.9911)
Luminance0.5051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C22D #2D2FC4
analogous
#C4762D #C4C22D #7BC42D
triadic
#C4C22D #2DC4C2 #C22DC4
tetradic
#C4C22D #2DC476 #2D2FC4 #C42D7B
square
#C4C22D #2DC476 #2D2FC4 #C42D7B
split-complementary
#C4C22D #2D7BC4 #762DC4
monochromatic
#605F16 #929122 #C4C22D #D8D656 #E4E288

Accessibility & contrast

On white

1.89
#C4C22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#C4C22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C22D
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C22D#FFFFFF#000000##000000
##C4C22D1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA00
Deuteranopia (green-blind)
#D4BF3A
Tritanopia (blue-blind)
#D2B5A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c4c22d;
/* rgb */ color: rgb(196, 194, 45);
/* oklch */ color: oklch(79.1% 0.159 108.7);
Tailwind
colors: {
  custom: {
    50: '#dad473',
    500: '#c4c22d',
    950: '#000000',
  },
}
SCSS
$custom: #c4c22d;
$custom-light: #dad473;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c22d",
  "rgb": {
    "r": 196,
    "g": 194,
    "b": 45
  },
  "hsl": {
    "h": 59.205,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.79099,
    "c": 0.15894,
    "h": 108.7
  },
  "luminance": 0.50509
}

Semantic roles & 50–950 ramp

primary
#C4C22D
secondary
#2A2B6B
accent
#44E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C22D

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

Preview Lab → · Contrast checker → · Palette generator →

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