#C5BF41#C5BF41

#C5BF41 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.7% C 0.144 H 106.6°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#C5BF41
RGBrgb(197, 191, 65)
HSLhsl(57, 53%, 51%)
HSVhsv(57, 67%, 77%)
CMYKcmyk(0%, 3%, 67%, 22.7%)
CIE-LABlab(75.77, -12.88, 61.51)
CIE-LCHlch(75.77, 62.84, 101.83°)
OKLaboklab(78.67% -0.0412 0.138)
OKLCHoklch(78.67% 0.144 106.6)
XYZxyz(42.6125, 49.5150, 12.3127)
Luminance0.4951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF41 #4147C5
analogous
#C57D41 #C5BF41 #89C541
triadic
#C5BF41 #41C5BF #BF41C5
tetradic
#C5BF41 #41C57D #4147C5 #C54189
square
#C5BF41 #41C57D #4147C5 #C54189
split-complementary
#C5BF41 #4189C5 #7D41C5
monochromatic
#6B6821 #9A952F #C5BF41 #D3CF70 #E2DF9F

Accessibility & contrast

On white

1.93
#C5BF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#C5BF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BF41
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BF41#FFFFFF#000000##000000
##C5BF411.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82F
Deuteranopia (green-blind)
#D2BD49
Tritanopia (blue-blind)
#D3B3A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5bf41;
/* rgb */ color: rgb(197, 191, 65);
/* oklch */ color: oklch(78.7% 0.144 106.6);
Tailwind
colors: {
  custom: {
    50: '#dad27d',
    500: '#c5bf41',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf41;
$custom-light: #dad27d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf41",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 65
  },
  "hsl": {
    "h": 57.273,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.7867,
    "c": 0.14402,
    "h": 106.6
  },
  "luminance": 0.49514
}

Semantic roles & 50–950 ramp

primary
#C5BF41
secondary
#9496CE
accent
#52DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5BF41

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

Preview Lab → · Contrast checker → · Palette generator →

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