#C5BD40#C5BD40

#C5BD40 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.2% C 0.143 H 105.7°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#C5BD40
RGBrgb(197, 189, 64)
HSLhsl(56, 53%, 51%)
HSVhsv(56, 68%, 77%)
CMYKcmyk(0%, 4.1%, 67.5%, 22.7%)
CIE-LABlab(75.23, -11.92, 61.35)
CIE-LCHlch(75.23, 62.50, 100.99°)
OKLaboklab(78.23% -0.0386 0.1375)
OKLCHoklch(78.23% 0.143 105.7)
XYZxyz(42.1506, 48.6372, 12.0171)
Luminance0.4864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BD40 #4048C5
analogous
#C57A40 #C5BD40 #8AC540
triadic
#C5BD40 #40C5BD #BD40C5
tetradic
#C5BD40 #40C57A #4048C5 #C5408A
square
#C5BD40 #40C57A #4048C5 #C5408A
split-complementary
#C5BD40 #408AC5 #7A40C5
monochromatic
#6A6620 #99932F #C5BD40 #D3CD6F #E2DD9E

Accessibility & contrast

On white

1.96
#C5BD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#C5BD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BD40
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BD40#FFFFFF#000000##000000
##C5BD401.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62E
Deuteranopia (green-blind)
#D0BC48
Tritanopia (blue-blind)
#D3B1A4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c5bd40;
/* rgb */ color: rgb(197, 189, 64);
/* oklch */ color: oklch(78.2% 0.143 105.7);
Tailwind
colors: {
  custom: {
    50: '#dad07c',
    500: '#c5bd40',
    950: '#000000',
  },
}
SCSS
$custom: #c5bd40;
$custom-light: #dad07c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bd40",
  "rgb": {
    "r": 197,
    "g": 189,
    "b": 64
  },
  "hsl": {
    "h": 56.391,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78233,
    "c": 0.14281,
    "h": 105.7
  },
  "luminance": 0.48636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5BD40

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

Preview Lab → · Contrast checker → · Palette generator →

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