#C4C225#C4C225

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

Color values

HEX#C4C225
RGBrgb(196, 194, 37)
HSLhsl(59, 68%, 46%)
HSVhsv(59, 81%, 77%)
CMYKcmyk(0%, 1%, 81.1%, 23.1%)
CIE-LABlab(76.35, -16.03, 71.28)
CIE-LCHlch(76.35, 73.06, 102.67°)
OKLaboklab(79.06% -0.0524 0.1538)
OKLCHoklch(79.06% 0.163 108.8)
XYZxyz(42.3924, 50.4543, 9.2555)
Luminance0.5045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C225 #2527C4
analogous
#C47225 #C4C225 #77C425
triadic
#C4C225 #25C4C2 #C225C4
tetradic
#C4C225 #25C472 #2527C4 #C42577
square
#C4C225 #25C472 #2527C4 #C42577
split-complementary
#C4C225 #2577C4 #7225C4
monochromatic
#5D5C12 #918F1B #C4C225 #DDDB49 #E6E57D

Accessibility & contrast

On white

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

On black

11.09
#C4C225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C225
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C225#FFFFFF#000000##000000
##C4C2251.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA00
Deuteranopia (green-blind)
#D5BF34
Tritanopia (blue-blind)
#D3B5A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c4c225;
/* rgb */ color: rgb(196, 194, 37);
/* oklch */ color: oklch(79.1% 0.163 108.8);
Tailwind
colors: {
  custom: {
    50: '#dad470',
    500: '#c4c225',
    950: '#000000',
  },
}
SCSS
$custom: #c4c225;
$custom-light: #dad470;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c225",
  "rgb": {
    "r": 196,
    "g": 194,
    "b": 37
  },
  "hsl": {
    "h": 59.245,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.79061,
    "c": 0.16252,
    "h": 108.8
  },
  "luminance": 0.50453
}

Semantic roles & 50–950 ramp

primary
#C4C225
secondary
#252668
accent
#3FEB3D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C4C225

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

Preview Lab → · Contrast checker → · Palette generator →

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