#C5B53B#C5B53B

#C5B53B is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.5% C 0.139 H 101.7°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#C5B53B
RGBrgb(197, 181, 59)
HSLhsl(53, 54%, 50%)
HSVhsv(53, 70%, 77%)
CMYKcmyk(0%, 8.1%, 70.1%, 22.7%)
CIE-LABlab(73.05, -8.07, 61.11)
CIE-LCHlch(73.05, 61.64, 97.52°)
OKLaboklab(76.49% -0.0282 0.1362)
OKLCHoklch(76.49% 0.139 101.7)
XYZxyz(40.3410, 45.2356, 10.7432)
Luminance0.4523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B53B #3B4BC5
analogous
#C5703B #C5B53B #90C53B
triadic
#C5B53B #3BC5B5 #B53BC5
tetradic
#C5B53B #3BC570 #3B4BC5 #C53B90
square
#C5B53B #3BC570 #3B4BC5 #C53B90
split-complementary
#C5B53B #3B90C5 #703BC5
monochromatic
#675F1F #968A2C #C5B53B #D3C76A #E1D999

Accessibility & contrast

On white

2.09
#C5B53B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#C5B53B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B53B
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B53B#FFFFFF#000000##000000
##C5B53B1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B028
Deuteranopia (green-blind)
#CAB643
Tritanopia (blue-blind)
#D4A89D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c5b53b;
/* rgb */ color: rgb(197, 181, 59);
/* oklch */ color: oklch(76.5% 0.139 101.7);
Tailwind
colors: {
  custom: {
    50: '#daca78',
    500: '#c5b53b',
    950: '#000000',
  },
}
SCSS
$custom: #c5b53b;
$custom-light: #daca78;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b53b",
  "rgb": {
    "r": 197,
    "g": 181,
    "b": 59
  },
  "hsl": {
    "h": 53.043,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76489,
    "c": 0.13904,
    "h": 101.7
  },
  "luminance": 0.45234
}

Semantic roles & 50–950 ramp

primary
#C5B53B
secondary
#8F96CD
accent
#5BDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B53B

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

Preview Lab → · Contrast checker → · Palette generator →

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