#C5C23D#C5C23D

#C5C23D is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.3% C 0.150 H 108.1°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#C5C23D
RGBrgb(197, 194, 61)
HSLhsl(59, 54%, 51%)
HSVhsv(59, 69%, 77%)
CMYKcmyk(0%, 1.5%, 69%, 22.7%)
CIE-LABlab(76.55, -14.62, 63.83)
CIE-LCHlch(76.55, 65.49, 102.90°)
OKLaboklab(79.29% -0.0465 0.1422)
OKLCHoklch(79.29% 0.15 108.1)
XYZxyz(43.1616, 50.7922, 11.9443)
Luminance0.5079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C23D #3D40C5
analogous
#C57E3D #C5C23D #84C53D
triadic
#C5C23D #3DC5C2 #C23DC5
tetradic
#C5C23D #3DC57E #3D40C5 #C53D84
square
#C5C23D #3DC57E #3D40C5 #C53D84
split-complementary
#C5C23D #3D84C5 #7E3DC5
monochromatic
#68671F #98952D #C5C23D #D3D16C #E1E09B

Accessibility & contrast

On white

1.88
#C5C23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#C5C23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C23D
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C23D#FFFFFF#000000##000000
##C5C23D1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA28
Deuteranopia (green-blind)
#D4BF46
Tritanopia (blue-blind)
#D3B6A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c5c23d;
/* rgb */ color: rgb(197, 194, 61);
/* oklch */ color: oklch(79.3% 0.150 108.1);
Tailwind
colors: {
  custom: {
    50: '#dad47b',
    500: '#c5c23d',
    950: '#000000',
  },
}
SCSS
$custom: #c5c23d;
$custom-light: #dad47b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c23d",
  "rgb": {
    "r": 197,
    "g": 194,
    "b": 61
  },
  "hsl": {
    "h": 58.676,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79285,
    "c": 0.14964,
    "h": 108.1
  },
  "luminance": 0.50791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5C23D

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

Preview Lab → · Contrast checker → · Palette generator →

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