#C5B03E#C5B03E

#C5B03E is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.5% C 0.133 H 98.7°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#C5B03E
RGBrgb(197, 176, 62)
HSLhsl(51, 54%, 51%)
HSVhsv(51, 69%, 77%)
CMYKcmyk(0%, 10.7%, 68.5%, 22.7%)
CIE-LABlab(71.74, -5.30, 58.60)
CIE-LCHlch(71.74, 58.84, 95.17°)
OKLaboklab(75.46% -0.02 0.1314)
OKLCHoklch(75.46% 0.133 98.7)
XYZxyz(39.4226, 43.2707, 10.8320)
Luminance0.4327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B03E #3E53C5
analogous
#C56C3E #C5B03E #96C53E
triadic
#C5B03E #3EC5B0 #B03EC5
tetradic
#C5B03E #3EC56C #3E53C5 #C53E96
square
#C5B03E #3EC56C #3E53C5 #C53E96
split-complementary
#C5B03E #3E96C5 #6C3EC5
monochromatic
#695E20 #98882E #C5B03E #D3C36D #E1D79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5B03E#FFFFFF#000000##000000
##C5B03E1.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)
#C1AC2E
Deuteranopia (green-blind)
#C6B345
Tritanopia (blue-blind)
#D4A399
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c5b03e;
/* rgb */ color: rgb(197, 176, 62);
/* oklch */ color: oklch(75.5% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#dac77a',
    500: '#c5b03e',
    950: '#000000',
  },
}
SCSS
$custom: #c5b03e;
$custom-light: #dac77a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b03e",
  "rgb": {
    "r": 197,
    "g": 176,
    "b": 62
  },
  "hsl": {
    "h": 50.667,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75458,
    "c": 0.13288,
    "h": 98.7
  },
  "luminance": 0.43269
}

Semantic roles & 50–950 ramp

primary
#C5B03E
secondary
#919BCD
accent
#61DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B03E

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

Preview Lab → · Contrast checker → · Palette generator →

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