#C5B33B#C5B33B

#C5B33B is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.1% C 0.137 H 100.6°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#C5B33B
RGBrgb(197, 179, 59)
HSLhsl(52, 54%, 50%)
HSVhsv(52, 70%, 77%)
CMYKcmyk(0%, 9.1%, 70.1%, 22.7%)
CIE-LABlab(72.51, -7.03, 60.58)
CIE-LCHlch(72.51, 60.99, 96.62°)
OKLaboklab(76.07% -0.0252 0.135)
OKLCHoklch(76.07% 0.137 100.6)
XYZxyz(39.9373, 44.4281, 10.6087)
Luminance0.4443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B33B #3B4DC5
analogous
#C56E3B #C5B33B #92C53B
triadic
#C5B33B #3BC5B3 #B33BC5
tetradic
#C5B33B #3BC56E #3B4DC5 #C53B92
square
#C5B33B #3BC56E #3B4DC5 #C53B92
split-complementary
#C5B33B #3B92C5 #6E3BC5
monochromatic
#675E1F #96892C #C5B33B #D3C56A #E1D899

Accessibility & contrast

On white

2.12
#C5B33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#C5B33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B33B
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B33B#FFFFFF#000000##000000
##C5B33B1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE29
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#D4A69B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c5b33b;
/* rgb */ color: rgb(197, 179, 59);
/* oklch */ color: oklch(76.1% 0.137 100.6);
Tailwind
colors: {
  custom: {
    50: '#dac978',
    500: '#c5b33b',
    950: '#000000',
  },
}
SCSS
$custom: #c5b33b;
$custom-light: #dac978;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b33b",
  "rgb": {
    "r": 197,
    "g": 179,
    "b": 59
  },
  "hsl": {
    "h": 52.174,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76066,
    "c": 0.13737,
    "h": 100.6
  },
  "luminance": 0.44426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5B33B

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

Preview Lab → · Contrast checker → · Palette generator →

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