#C5B038#C5B038

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

Color values

HEX#C5B038
RGBrgb(197, 176, 56)
HSLhsl(51, 56%, 50%)
HSVhsv(51, 72%, 77%)
CMYKcmyk(0%, 10.7%, 71.6%, 22.7%)
CIE-LABlab(71.70, -5.61, 60.93)
CIE-LCHlch(71.70, 61.19, 95.26°)
OKLaboklab(75.41% -0.0215 0.1352)
OKLCHoklch(75.41% 0.137 99.1)
XYZxyz(39.2670, 43.2084, 10.0123)
Luminance0.4321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B038 #384DC5
analogous
#C56A38 #C5B038 #93C538
triadic
#C5B038 #38C5B0 #B038C5
tetradic
#C5B038 #38C56A #384DC5 #C53893
square
#C5B038 #38C56A #384DC5 #C53893
split-complementary
#C5B038 #3893C5 #6A38C5
monochromatic
#665B1D #95852A #C5B038 #D4C367 #E1D696

Accessibility & contrast

On white

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

On black

9.64
#C5B038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B038
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B038#FFFFFF#000000##000000
##C5B0381.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5b038;
/* rgb */ color: rgb(197, 176, 56);
/* oklch */ color: oklch(75.4% 0.137 99.1);
Tailwind
colors: {
  custom: {
    50: '#dac776',
    500: '#c5b038',
    950: '#000000',
  },
}
SCSS
$custom: #c5b038;
$custom-light: #dac776;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b038",
  "rgb": {
    "r": 197,
    "g": 176,
    "b": 56
  },
  "hsl": {
    "h": 51.064,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75411,
    "c": 0.13693,
    "h": 99.1
  },
  "luminance": 0.43207
}

Semantic roles & 50–950 ramp

primary
#C5B038
secondary
#8C96CD
accent
#5FDF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B038

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

Preview Lab → · Contrast checker → · Palette generator →

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