#C5C23B#C5C23B

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

Color values

HEX#C5C23B
RGBrgb(197, 194, 59)
HSLhsl(59, 54%, 50%)
HSVhsv(59, 70%, 77%)
CMYKcmyk(0%, 1.5%, 70.1%, 22.7%)
CIE-LABlab(76.54, -14.72, 64.56)
CIE-LCHlch(76.54, 66.22, 102.84°)
OKLaboklab(79.27% -0.0469 0.1434)
OKLCHoklch(79.27% 0.151 108.1)
XYZxyz(43.1087, 50.7710, 11.6658)
Luminance0.5077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C23B #3B3EC5
analogous
#C57D3B #C5C23B #83C53B
triadic
#C5C23B #3BC5C2 #C23BC5
tetradic
#C5C23B #3BC57D #3B3EC5 #C53B83
square
#C5C23B #3BC57D #3B3EC5 #C53B83
split-complementary
#C5C23B #3B83C5 #7D3BC5
monochromatic
#67661F #96942C #C5C23B #D3D16A #E1DF99

Accessibility & contrast

On white

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

On black

11.15
#C5C23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C23B
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C23B#FFFFFF#000000##000000
##C5C23B1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA24
Deuteranopia (green-blind)
#D4BF45
Tritanopia (blue-blind)
#D3B5A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c5c23b;
/* rgb */ color: rgb(197, 194, 59);
/* oklch */ color: oklch(79.3% 0.151 108.1);
Tailwind
colors: {
  custom: {
    50: '#dad47a',
    500: '#c5c23b',
    950: '#000000',
  },
}
SCSS
$custom: #c5c23b;
$custom-light: #dad47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c23b",
  "rgb": {
    "r": 197,
    "g": 194,
    "b": 59
  },
  "hsl": {
    "h": 58.696,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7927,
    "c": 0.15093,
    "h": 108.1
  },
  "luminance": 0.5077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5C23B

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

Preview Lab → · Contrast checker → · Palette generator →

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