#C5B03D#C5B03D

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

Color values

HEX#C5B03D
RGBrgb(197, 176, 61)
HSLhsl(51, 54%, 51%)
HSVhsv(51, 69%, 77%)
CMYKcmyk(0%, 10.7%, 69%, 22.7%)
CIE-LABlab(71.73, -5.35, 59.00)
CIE-LCHlch(71.73, 59.24, 95.19°)
OKLaboklab(75.45% -0.0203 0.132)
OKLCHoklch(75.45% 0.134 98.7)
XYZxyz(39.3954, 43.2598, 10.6889)
Luminance0.4326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B03D #3D52C5
analogous
#C56C3D #C5B03D #96C53D
triadic
#C5B03D #3DC5B0 #B03DC5
tetradic
#C5B03D #3DC56C #3D52C5 #C53D96
square
#C5B03D #3DC56C #3D52C5 #C53D96
split-complementary
#C5B03D #3D96C5 #6C3DC5
monochromatic
#685D1F #98872D #C5B03D #D3C36C #E1D69B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5B03D#FFFFFF#000000##000000
##C5B03D1.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)
#C1AC2D
Deuteranopia (green-blind)
#C7B344
Tritanopia (blue-blind)
#D4A399
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c5b03d;
/* rgb */ color: rgb(197, 176, 61);
/* oklch */ color: oklch(75.4% 0.134 98.7);
Tailwind
colors: {
  custom: {
    50: '#dac779',
    500: '#c5b03d',
    950: '#000000',
  },
}
SCSS
$custom: #c5b03d;
$custom-light: #dac779;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b03d",
  "rgb": {
    "r": 197,
    "g": 176,
    "b": 61
  },
  "hsl": {
    "h": 50.735,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7545,
    "c": 0.13359,
    "h": 98.7
  },
  "luminance": 0.43258
}

Semantic roles & 50–950 ramp

primary
#C5B03D
secondary
#919ACD
accent
#61DD4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B03D

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

Preview Lab → · Contrast checker → · Palette generator →

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