#C5BF4E#C5BF4E

#C5BF4E is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.8% C 0.134 H 106.2°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#C5BF4E
RGBrgb(197, 191, 78)
HSLhsl(57, 51%, 54%)
HSVhsv(57, 60%, 77%)
CMYKcmyk(0%, 3%, 60.4%, 22.7%)
CIE-LABlab(75.87, -12.07, 56.20)
CIE-LCHlch(75.87, 57.49, 102.13°)
OKLaboklab(78.79% -0.0375 0.1287)
OKLCHoklch(78.79% 0.134 106.2)
XYZxyz(43.0333, 49.6834, 14.5293)
Luminance0.4968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF4E #4E54C5
analogous
#C5844E #C5BF4E #90C54E
triadic
#C5BF4E #4EC5BF #BF4EC5
tetradic
#C5BF4E #4EC584 #4E54C5 #C54E90
square
#C5BF4E #4EC584 #4E54C5 #C54E90
split-complementary
#C5BF4E #4E90C5 #844EC5
monochromatic
#736F26 #A19C35 #C5BF4E #D4D07C #E3E0AA

Accessibility & contrast

On white

1.92
#C5BF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#C5BF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BF4E
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BF4E#FFFFFF#000000##000000
##C5BF4E1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB841
Deuteranopia (green-blind)
#D1BD54
Tritanopia (blue-blind)
#D2B3A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5bf4e;
/* rgb */ color: rgb(197, 191, 78);
/* oklch */ color: oklch(78.8% 0.134 106.2);
Tailwind
colors: {
  custom: {
    50: '#d9d284',
    500: '#c5bf4e',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf4e;
$custom-light: #d9d284;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf4e",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 78
  },
  "hsl": {
    "h": 56.975,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78786,
    "c": 0.13408,
    "h": 106.2
  },
  "luminance": 0.49682
}

Semantic roles & 50–950 ramp

primary
#C5BF4E
secondary
#9EA1D1
accent
#55DA4E
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #C5BF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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