#C5B23E#C5B23E

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

Color values

HEX#C5B23E
RGBrgb(197, 178, 62)
HSLhsl(52, 54%, 51%)
HSVhsv(52, 69%, 77%)
CMYKcmyk(0%, 9.6%, 68.5%, 22.7%)
CIE-LABlab(72.27, -6.35, 59.14)
CIE-LCHlch(72.27, 59.48, 96.12°)
OKLaboklab(75.88% -0.023 0.1325)
OKLCHoklch(75.88% 0.134 99.8)
XYZxyz(39.8176, 44.0607, 10.9637)
Luminance0.4406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B23E #3E51C5
analogous
#C56F3E #C5B23E #94C53E
triadic
#C5B23E #3EC5B2 #B23EC5
tetradic
#C5B23E #3EC56F #3E51C5 #C53E94
square
#C5B23E #3EC56F #3E51C5 #C53E94
split-complementary
#C5B23E #3E94C5 #6F3EC5
monochromatic
#695F20 #98892E #C5B23E #D3C56D #E1D89C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5B23E#FFFFFF#000000##000000
##C5B23E1.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)
#C3AD2E
Deuteranopia (green-blind)
#C8B445
Tritanopia (blue-blind)
#D4A59A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c5b23e;
/* rgb */ color: rgb(197, 178, 62);
/* oklch */ color: oklch(75.9% 0.134 99.8);
Tailwind
colors: {
  custom: {
    50: '#dac87a',
    500: '#c5b23e',
    950: '#000000',
  },
}
SCSS
$custom: #c5b23e;
$custom-light: #dac87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b23e",
  "rgb": {
    "r": 197,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 51.556,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75879,
    "c": 0.13449,
    "h": 99.8
  },
  "luminance": 0.44059
}

Semantic roles & 50–950 ramp

primary
#C5B23E
secondary
#919ACD
accent
#5FDD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B23E

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

Preview Lab → · Contrast checker → · Palette generator →

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