#C5C33B#C5C33B

#C5C33B is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.5% C 0.152 H 108.6°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#C5C33B
RGBrgb(197, 195, 59)
HSLhsl(59, 54%, 50%)
HSVhsv(59, 70%, 77%)
CMYKcmyk(0%, 1%, 70.1%, 22.7%)
CIE-LABlab(76.81, -15.22, 64.83)
CIE-LCHlch(76.81, 66.59, 103.22°)
OKLaboklab(79.49% -0.0484 0.144)
OKLCHoklch(79.49% 0.152 108.6)
XYZxyz(43.3321, 51.2176, 11.7402)
Luminance0.5122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C33B #3B3DC5
analogous
#C57E3B #C5C33B #82C53B
triadic
#C5C33B #3BC5C3 #C33BC5
tetradic
#C5C33B #3BC57E #3B3DC5 #C53B82
square
#C5C33B #3BC57E #3B3DC5 #C53B82
split-complementary
#C5C33B #3B82C5 #7E3BC5
monochromatic
#67661F #96952C #C5C33B #D3D16A #E1E099

Accessibility & contrast

On white

1.87
#C5C33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#C5C33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C33B
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C33B#FFFFFF#000000##000000
##C5C33B1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB24
Deuteranopia (green-blind)
#D5C045
Tritanopia (blue-blind)
#D3B6A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c5c33b;
/* rgb */ color: rgb(197, 195, 59);
/* oklch */ color: oklch(79.5% 0.152 108.6);
Tailwind
colors: {
  custom: {
    50: '#dad47a',
    500: '#c5c33b',
    950: '#000000',
  },
}
SCSS
$custom: #c5c33b;
$custom-light: #dad47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c33b",
  "rgb": {
    "r": 197,
    "g": 195,
    "b": 59
  },
  "hsl": {
    "h": 59.13,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79486,
    "c": 0.15191,
    "h": 108.6
  },
  "luminance": 0.51216
}

Semantic roles & 50–950 ramp

primary
#C5C33B
secondary
#333471
accent
#4CDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C33B

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

Preview Lab → · Contrast checker → · Palette generator →

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