#C5C23A#C5C23A

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

Color values

HEX#C5C23A
RGBrgb(197, 194, 58)
HSLhsl(59, 55%, 50%)
HSVhsv(59, 71%, 77%)
CMYKcmyk(0%, 1.5%, 70.6%, 22.7%)
CIE-LABlab(76.53, -14.77, 64.92)
CIE-LCHlch(76.53, 66.58, 102.82°)
OKLaboklab(79.26% -0.0472 0.144)
OKLCHoklch(79.26% 0.152 108.1)
XYZxyz(43.0831, 50.7608, 11.5305)
Luminance0.5076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C23A #3A3DC5
analogous
#C57C3A #C5C23A #83C53A
triadic
#C5C23A #3AC5C2 #C23AC5
tetradic
#C5C23A #3AC57C #3A3DC5 #C53A83
square
#C5C23A #3AC57C #3A3DC5 #C53A83
split-complementary
#C5C23A #3A83C5 #7C3AC5
monochromatic
#66651E #96932C #C5C23A #D3D169 #E1DF99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C23A#FFFFFF#000000##000000
##C5C23A1.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)
#D2BA22
Deuteranopia (green-blind)
#D4BF44
Tritanopia (blue-blind)
#D3B5A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c5c23a;
/* rgb */ color: rgb(197, 194, 58);
/* oklch */ color: oklch(79.3% 0.152 108.1);
Tailwind
colors: {
  custom: {
    50: '#dad479',
    500: '#c5c23a',
    950: '#000000',
  },
}
SCSS
$custom: #c5c23a;
$custom-light: #dad479;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c23a",
  "rgb": {
    "r": 197,
    "g": 194,
    "b": 58
  },
  "hsl": {
    "h": 58.705,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.79263,
    "c": 0.15155,
    "h": 108.1
  },
  "luminance": 0.50759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5C23A

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

Preview Lab → · Contrast checker → · Palette generator →

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