#C5B03F#C5B03F

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

Color values

HEX#C5B03F
RGBrgb(197, 176, 63)
HSLhsl(51, 54%, 51%)
HSVhsv(51, 68%, 77%)
CMYKcmyk(0%, 10.7%, 68%, 22.7%)
CIE-LABlab(71.75, -5.24, 58.20)
CIE-LCHlch(71.75, 58.44, 95.15°)
OKLaboklab(75.47% -0.0197 0.1307)
OKLCHoklch(75.47% 0.132 98.6)
XYZxyz(39.4503, 43.2817, 10.9779)
Luminance0.4328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B03F #3F54C5
analogous
#C56D3F #C5B03F #97C53F
triadic
#C5B03F #3FC5B0 #B03FC5
tetradic
#C5B03F #3FC56D #3F54C5 #C53F97
square
#C5B03F #3FC56D #3F54C5 #C53F97
split-complementary
#C5B03F #3F97C5 #6D3FC5
monochromatic
#6A5E20 #99882E #C5B03F #D3C36E #E1D79D

Accessibility & contrast

On white

2.17
#C5B03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#C5B03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B03F
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B03F#FFFFFF#000000##000000
##C5B03F1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC30
Deuteranopia (green-blind)
#C6B345
Tritanopia (blue-blind)
#D4A399
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c5b03f;
/* rgb */ color: rgb(197, 176, 63);
/* oklch */ color: oklch(75.5% 0.132 98.6);
Tailwind
colors: {
  custom: {
    50: '#dac77a',
    500: '#c5b03f',
    950: '#000000',
  },
}
SCSS
$custom: #c5b03f;
$custom-light: #dac77a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b03f",
  "rgb": {
    "r": 197,
    "g": 176,
    "b": 63
  },
  "hsl": {
    "h": 50.597,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75466,
    "c": 0.13217,
    "h": 98.6
  },
  "luminance": 0.4328
}

Semantic roles & 50–950 ramp

primary
#C5B03F
secondary
#929CCE
accent
#62DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B03F

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

Preview Lab → · Contrast checker → · Palette generator →

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