#C5C225#C5C225

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

Color values

HEX#C5C225
RGBrgb(197, 194, 37)
HSLhsl(59, 68%, 46%)
HSVhsv(59, 81%, 77%)
CMYKcmyk(0%, 1.5%, 81.2%, 22.7%)
CIE-LABlab(76.43, -15.60, 71.38)
CIE-LCHlch(76.43, 73.07, 102.33°)
OKLaboklab(79.15% -0.0513 0.154)
OKLCHoklch(79.15% 0.162 108.4)
XYZxyz(42.6534, 50.5889, 9.2677)
Luminance0.5059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C225 #2528C5
analogous
#C57225 #C5C225 #78C525
triadic
#C5C225 #25C5C2 #C225C5
tetradic
#C5C225 #25C572 #2528C5 #C52578
square
#C5C225 #25C572 #2528C5 #C52578
split-complementary
#C5C225 #2578C5 #7225C5
monochromatic
#5E5D12 #918F1B #C5C225 #DDDA4A #E7E57E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C225#FFFFFF#000000##000000
##C5C2251.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)
#D5BF34
Tritanopia (blue-blind)
#D4B5A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c5c225;
/* rgb */ color: rgb(197, 194, 37);
/* oklch */ color: oklch(79.1% 0.162 108.4);
Tailwind
colors: {
  custom: {
    50: '#dbd470',
    500: '#c5c225',
    950: '#000000',
  },
}
SCSS
$custom: #c5c225;
$custom-light: #dbd470;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c225",
  "rgb": {
    "r": 197,
    "g": 194,
    "b": 37
  },
  "hsl": {
    "h": 58.875,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.79147,
    "c": 0.16232,
    "h": 108.4
  },
  "luminance": 0.50587
}

Semantic roles & 50–950 ramp

primary
#C5C225
secondary
#252669
accent
#40EB3D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C5C225

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

Preview Lab → · Contrast checker → · Palette generator →

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