#C5C53B#C5C53B

#C5C53B is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.9% C 0.154 H 109.4°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#C5C53B
RGBrgb(197, 197, 59)
HSLhsl(60, 54%, 50%)
HSVhsv(60, 70%, 77%)
CMYKcmyk(0%, 0%, 70.1%, 22.7%)
CIE-LABlab(77.35, -16.23, 65.36)
CIE-LCHlch(77.35, 67.34, 103.94°)
OKLaboklab(79.92% -0.0512 0.1451)
OKLCHoklch(79.92% 0.154 109.4)
XYZxyz(43.7832, 52.1199, 11.8906)
Luminance0.5212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C53B #3B3BC5
analogous
#C5803B #C5C53B #80C53B
triadic
#C5C53B #3BC5C5 #C53BC5
tetradic
#C5C53B #3BC580 #3B3BC5 #C53B80
square
#C5C53B #3BC580 #3B3BC5 #C53B80
split-complementary
#C5C53B #3B80C5 #803BC5
monochromatic
#67671F #96962C #C5C53B #D3D36A #E1E199

Accessibility & contrast

On white

1.84
#C5C53B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#C5C53B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C53B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C53B#FFFFFF#000000##000000
##C5C53B1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD23
Deuteranopia (green-blind)
#D6C145
Tritanopia (blue-blind)
#D3B9AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c5c53b;
/* rgb */ color: rgb(197, 197, 59);
/* oklch */ color: oklch(79.9% 0.154 109.4);
Tailwind
colors: {
  custom: {
    50: '#dad67a',
    500: '#c5c53b',
    950: '#000000',
  },
}
SCSS
$custom: #c5c53b;
$custom-light: #dad67a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c53b",
  "rgb": {
    "r": 197,
    "g": 197,
    "b": 59
  },
  "hsl": {
    "h": 60,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79919,
    "c": 0.15387,
    "h": 109.4
  },
  "luminance": 0.52119
}

Semantic roles & 50–950 ramp

primary
#C5C53B
secondary
#333371
accent
#4ADE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C53B

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

Preview Lab → · Contrast checker → · Palette generator →

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