#C5C23C#C5C23C

#C5C23C 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#C5C23C
RGBrgb(197, 194, 60)
HSLhsl(59, 54%, 50%)
HSVhsv(59, 70%, 77%)
CMYKcmyk(0%, 1.5%, 69.5%, 22.7%)
CIE-LABlab(76.55, -14.67, 64.20)
CIE-LCHlch(76.55, 65.85, 102.87°)
OKLaboklab(79.28% -0.0467 0.1428)
OKLCHoklch(79.28% 0.15 108.1)
XYZxyz(43.1349, 50.7815, 11.8037)
Luminance0.5078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C23C #3C3FC5
analogous
#C57D3C #C5C23C #83C53C
triadic
#C5C23C #3CC5C2 #C23CC5
tetradic
#C5C23C #3CC57D #3C3FC5 #C53C83
square
#C5C23C #3CC57D #3C3FC5 #C53C83
split-complementary
#C5C23C #3C83C5 #7D3CC5
monochromatic
#68661F #97952D #C5C23C #D3D16B #E1E09A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C23C#FFFFFF#000000##000000
##C5C23C1.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)
#D2BA26
Deuteranopia (green-blind)
#D4BF45
Tritanopia (blue-blind)
#D3B6A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c5c23c;
/* rgb */ color: rgb(197, 194, 60);
/* oklch */ color: oklch(79.3% 0.150 108.1);
Tailwind
colors: {
  custom: {
    50: '#dad47a',
    500: '#c5c23c',
    950: '#000000',
  },
}
SCSS
$custom: #c5c23c;
$custom-light: #dad47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c23c",
  "rgb": {
    "r": 197,
    "g": 194,
    "b": 60
  },
  "hsl": {
    "h": 58.686,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.79277,
    "c": 0.15028,
    "h": 108.1
  },
  "luminance": 0.5078
}

Semantic roles & 50–950 ramp

primary
#C5C23C
secondary
#333572
accent
#4EDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C23C

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

Preview Lab → · Contrast checker → · Palette generator →

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