#C5B440#C5B440

#C5B440 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.3% C 0.135 H 100.9°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#C5B440
RGBrgb(197, 180, 64)
HSLhsl(52, 53%, 51%)
HSVhsv(52, 68%, 77%)
CMYKcmyk(0%, 8.6%, 67.5%, 22.7%)
CIE-LABlab(72.82, -7.28, 58.89)
CIE-LCHlch(72.82, 59.34, 97.05°)
OKLaboklab(76.32% -0.0254 0.1323)
OKLCHoklch(76.32% 0.135 100.9)
XYZxyz(40.2744, 44.8848, 11.3917)
Luminance0.4488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B440 #4051C5
analogous
#C57140 #C5B440 #93C540
triadic
#C5B440 #40C5B4 #B440C5
tetradic
#C5B440 #40C571 #4051C5 #C54093
square
#C5B440 #40C571 #4051C5 #C54093
split-complementary
#C5B440 #4093C5 #7140C5
monochromatic
#6A6120 #998C2F #C5B440 #D3C66F #E2D99E

Accessibility & contrast

On white

2.10
#C5B440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#C5B440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B440
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B440#FFFFFF#000000##000000
##C5B4401.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF30
Deuteranopia (green-blind)
#C9B647
Tritanopia (blue-blind)
#D4A79C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c5b440;
/* rgb */ color: rgb(197, 180, 64);
/* oklch */ color: oklch(76.3% 0.135 100.9);
Tailwind
colors: {
  custom: {
    50: '#daca7b',
    500: '#c5b440',
    950: '#000000',
  },
}
SCSS
$custom: #c5b440;
$custom-light: #daca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b440",
  "rgb": {
    "r": 197,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 52.331,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76317,
    "c": 0.13474,
    "h": 100.9
  },
  "luminance": 0.44883
}

Semantic roles & 50–950 ramp

primary
#C5B440
secondary
#939BCE
accent
#5EDD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B440

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

Preview Lab → · Contrast checker → · Palette generator →

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