#C5BB40#C5BB40

#C5BB40 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.8% C 0.141 H 104.7°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#C5BB40
RGBrgb(197, 187, 64)
HSLhsl(55, 53%, 51%)
HSVhsv(55, 68%, 77%)
CMYKcmyk(0%, 5.1%, 67.5%, 22.7%)
CIE-LABlab(74.69, -10.90, 60.80)
CIE-LCHlch(74.69, 61.77, 100.16°)
OKLaboklab(77.81% -0.0357 0.1364)
OKLCHoklch(77.81% 0.141 104.7)
XYZxyz(41.7233, 47.7827, 11.8747)
Luminance0.4778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BB40 #404AC5
analogous
#C57840 #C5BB40 #8CC540
triadic
#C5BB40 #40C5BB #BB40C5
tetradic
#C5BB40 #40C578 #404AC5 #C5408C
square
#C5BB40 #40C578 #404AC5 #C5408C
split-complementary
#C5BB40 #408CC5 #7840C5
monochromatic
#6A6520 #99912F #C5BB40 #D3CC6F #E2DC9E

Accessibility & contrast

On white

1.99
#C5BB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#C5BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BB40
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BB40#FFFFFF#000000##000000
##C5BB401.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB52E
Deuteranopia (green-blind)
#CFBA48
Tritanopia (blue-blind)
#D3AFA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c5bb40;
/* rgb */ color: rgb(197, 187, 64);
/* oklch */ color: oklch(77.8% 0.141 104.7);
Tailwind
colors: {
  custom: {
    50: '#dacf7c',
    500: '#c5bb40',
    950: '#000000',
  },
}
SCSS
$custom: #c5bb40;
$custom-light: #dacf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bb40",
  "rgb": {
    "r": 197,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 55.489,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77805,
    "c": 0.14095,
    "h": 104.7
  },
  "luminance": 0.47781
}

Semantic roles & 50–950 ramp

primary
#C5BB40
secondary
#9397CE
accent
#56DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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