#C5C33D#C5C33D

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

Color values

HEX#C5C33D
RGBrgb(197, 195, 61)
HSLhsl(59, 54%, 51%)
HSVhsv(59, 69%, 77%)
CMYKcmyk(0%, 1%, 69%, 22.7%)
CIE-LABlab(76.82, -15.12, 64.10)
CIE-LCHlch(76.82, 65.86, 103.27°)
OKLaboklab(79.5% -0.0479 0.1428)
OKLCHoklch(79.5% 0.151 108.5)
XYZxyz(43.3849, 51.2388, 12.0187)
Luminance0.5124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C33D #3D3FC5
analogous
#C57F3D #C5C33D #83C53D
triadic
#C5C33D #3DC5C3 #C33DC5
tetradic
#C5C33D #3DC57F #3D3FC5 #C53D83
square
#C5C33D #3DC57F #3D3FC5 #C53D83
split-complementary
#C5C33D #3D83C5 #7F3DC5
monochromatic
#68671F #98962D #C5C33D #D3D26C #E1E09B

Accessibility & contrast

On white

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

On black

11.25
#C5C33D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C33D
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C33D#FFFFFF#000000##000000
##C5C33D1.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB27
Deuteranopia (green-blind)
#D5C046
Tritanopia (blue-blind)
#D3B7A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c5c33d;
/* rgb */ color: rgb(197, 195, 61);
/* oklch */ color: oklch(79.5% 0.151 108.5);
Tailwind
colors: {
  custom: {
    50: '#dad47b',
    500: '#c5c33d',
    950: '#000000',
  },
}
SCSS
$custom: #c5c33d;
$custom-light: #dad47b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c33d",
  "rgb": {
    "r": 197,
    "g": 195,
    "b": 61
  },
  "hsl": {
    "h": 59.118,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.795,
    "c": 0.15063,
    "h": 108.5
  },
  "luminance": 0.51237
}

Semantic roles & 50–950 ramp

primary
#C5C33D
secondary
#343572
accent
#4DDD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C33D

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

Preview Lab → · Contrast checker → · Palette generator →

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