#C5B43B#C5B43B

#C5B43B is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.3% C 0.138 H 101.1°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#C5B43B
RGBrgb(197, 180, 59)
HSLhsl(53, 54%, 50%)
HSVhsv(53, 70%, 77%)
CMYKcmyk(0%, 8.6%, 70.1%, 22.7%)
CIE-LABlab(72.78, -7.55, 60.85)
CIE-LCHlch(72.78, 61.31, 97.07°)
OKLaboklab(76.28% -0.0267 0.1356)
OKLCHoklch(76.28% 0.138 101.1)
XYZxyz(40.1384, 44.8304, 10.6757)
Luminance0.4483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B43B #3B4CC5
analogous
#C56F3B #C5B43B #91C53B
triadic
#C5B43B #3BC5B4 #B43BC5
tetradic
#C5B43B #3BC56F #3B4CC5 #C53B91
square
#C5B43B #3BC56F #3B4CC5 #C53B91
split-complementary
#C5B43B #3B91C5 #6F3BC5
monochromatic
#675E1F #96892C #C5B43B #D3C66A #E1D899

Accessibility & contrast

On white

2.11
#C5B43B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#C5B43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B43B
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B43B#FFFFFF#000000##000000
##C5B43B1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5b43b;
/* rgb */ color: rgb(197, 180, 59);
/* oklch */ color: oklch(76.3% 0.138 101.1);
Tailwind
colors: {
  custom: {
    50: '#daca78',
    500: '#c5b43b',
    950: '#000000',
  },
}
SCSS
$custom: #c5b43b;
$custom-light: #daca78;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b43b",
  "rgb": {
    "r": 197,
    "g": 180,
    "b": 59
  },
  "hsl": {
    "h": 52.609,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76277,
    "c": 0.1382,
    "h": 101.1
  },
  "luminance": 0.44829
}

Semantic roles & 50–950 ramp

primary
#C5B43B
secondary
#8F97CD
accent
#5CDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B43B

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

Preview Lab → · Contrast checker → · Palette generator →

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