#C5B23D#C5B23D

#C5B23D is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.9% C 0.135 H 99.9°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#C5B23D
RGBrgb(197, 178, 61)
HSLhsl(52, 54%, 51%)
HSVhsv(52, 69%, 77%)
CMYKcmyk(0%, 9.6%, 69%, 22.7%)
CIE-LABlab(72.26, -6.40, 59.54)
CIE-LCHlch(72.26, 59.88, 96.14°)
OKLaboklab(75.87% -0.0232 0.1332)
OKLCHoklch(75.87% 0.135 99.9)
XYZxyz(39.7905, 44.0499, 10.8205)
Luminance0.4405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B23D #3D50C5
analogous
#C56E3D #C5B23D #94C53D
triadic
#C5B23D #3DC5B2 #B23DC5
tetradic
#C5B23D #3DC56E #3D50C5 #C53D94
square
#C5B23D #3DC56E #3D50C5 #C53D94
split-complementary
#C5B23D #3D94C5 #6E3DC5
monochromatic
#685E1F #98892D #C5B23D #D3C56C #E1D79B

Accessibility & contrast

On white

2.14
#C5B23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#C5B23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B23D
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B23D#FFFFFF#000000##000000
##C5B23D1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD2C
Deuteranopia (green-blind)
#C8B444
Tritanopia (blue-blind)
#D4A59A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c5b23d;
/* rgb */ color: rgb(197, 178, 61);
/* oklch */ color: oklch(75.9% 0.135 99.9);
Tailwind
colors: {
  custom: {
    50: '#dac879',
    500: '#c5b23d',
    950: '#000000',
  },
}
SCSS
$custom: #c5b23d;
$custom-light: #dac879;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b23d",
  "rgb": {
    "r": 197,
    "g": 178,
    "b": 61
  },
  "hsl": {
    "h": 51.618,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75871,
    "c": 0.13518,
    "h": 99.9
  },
  "luminance": 0.44048
}

Semantic roles & 50–950 ramp

primary
#C5B23D
secondary
#9199CD
accent
#5FDD4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B23D

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

Preview Lab → · Contrast checker → · Palette generator →

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