#C5B03B#C5B03B

#C5B03B is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.4% C 0.135 H 98.9°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#C5B03B
RGBrgb(197, 176, 59)
HSLhsl(51, 54%, 50%)
HSVhsv(51, 70%, 77%)
CMYKcmyk(0%, 10.7%, 70.1%, 22.7%)
CIE-LABlab(71.72, -5.46, 59.78)
CIE-LCHlch(71.72, 60.03, 95.22°)
OKLaboklab(75.43% -0.0208 0.1333)
OKLCHoklch(75.43% 0.135 98.9)
XYZxyz(39.3425, 43.2386, 10.4104)
Luminance0.4324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B03B #3B50C5
analogous
#C56B3B #C5B03B #95C53B
triadic
#C5B03B #3BC5B0 #B03BC5
tetradic
#C5B03B #3BC56B #3B50C5 #C53B95
square
#C5B03B #3BC56B #3B50C5 #C53B95
split-complementary
#C5B03B #3B95C5 #6B3BC5
monochromatic
#675C1F #96862C #C5B03B #D3C36A #E1D699

Accessibility & contrast

On white

2.18
#C5B03B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#C5B03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B03B
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B03B#FFFFFF#000000##000000
##C5B03B1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB2A
Deuteranopia (green-blind)
#C7B342
Tritanopia (blue-blind)
#D4A398
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c5b03b;
/* rgb */ color: rgb(197, 176, 59);
/* oklch */ color: oklch(75.4% 0.135 98.9);
Tailwind
colors: {
  custom: {
    50: '#dac778',
    500: '#c5b03b',
    950: '#000000',
  },
}
SCSS
$custom: #c5b03b;
$custom-light: #dac778;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b03b",
  "rgb": {
    "r": 197,
    "g": 176,
    "b": 59
  },
  "hsl": {
    "h": 50.87,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75434,
    "c": 0.13495,
    "h": 98.9
  },
  "luminance": 0.43237
}

Semantic roles & 50–950 ramp

primary
#C5B03B
secondary
#8F98CD
accent
#61DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B03B

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

Preview Lab → · Contrast checker → · Palette generator →

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