#C5C224#C5C224

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

Color values

HEX#C5C224
RGBrgb(197, 194, 36)
HSLhsl(59, 69%, 46%)
HSVhsv(59, 82%, 77%)
CMYKcmyk(0%, 1.5%, 81.7%, 22.7%)
CIE-LABlab(76.43, -15.63, 71.64)
CIE-LCHlch(76.43, 73.32, 102.31°)
OKLaboklab(79.14% -0.0514 0.1544)
OKLCHoklch(79.14% 0.163 108.4)
XYZxyz(42.6379, 50.5827, 9.1862)
Luminance0.5058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C224 #2427C5
analogous
#C57124 #C5C224 #77C524
triadic
#C5C224 #24C5C2 #C224C5
tetradic
#C5C224 #24C571 #2427C5 #C52477
square
#C5C224 #24C571 #2427C5 #C52477
split-complementary
#C5C224 #2477C5 #7124C5
monochromatic
#5E5C11 #918F1B #C5C224 #DEDB49 #E7E57C

Accessibility & contrast

On white

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

On black

11.12
#C5C224 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C224
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C224#FFFFFF#000000##000000
##C5C2241.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5c224;
/* rgb */ color: rgb(197, 194, 36);
/* oklch */ color: oklch(79.1% 0.163 108.4);
Tailwind
colors: {
  custom: {
    50: '#dbd46f',
    500: '#c5c224',
    950: '#000000',
  },
}
SCSS
$custom: #c5c224;
$custom-light: #dbd46f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c224",
  "rgb": {
    "r": 197,
    "g": 194,
    "b": 36
  },
  "hsl": {
    "h": 58.882,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.79142,
    "c": 0.16272,
    "h": 108.4
  },
  "luminance": 0.50581
}

Semantic roles & 50–950 ramp

primary
#C5C224
secondary
#242669
accent
#3FEC3C
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C5C224

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

Preview Lab → · Contrast checker → · Palette generator →

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