#C5BF4A#C5BF4A

#C5BF4A is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.7% C 0.137 H 106.4°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#C5BF4A
RGBrgb(197, 191, 74)
HSLhsl(57, 51%, 53%)
HSVhsv(57, 62%, 77%)
CMYKcmyk(0%, 3%, 62.4%, 22.7%)
CIE-LABlab(75.84, -12.34, 57.89)
CIE-LCHlch(75.84, 59.19, 102.03°)
OKLaboklab(78.75% -0.0387 0.1318)
OKLCHoklch(78.75% 0.137 106.4)
XYZxyz(42.8943, 49.6277, 13.7968)
Luminance0.4963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF4A #4A50C5
analogous
#C5814A #C5BF4A #8DC54A
triadic
#C5BF4A #4AC5BF #BF4AC5
tetradic
#C5BF4A #4AC581 #4A50C5 #C54A8D
square
#C5BF4A #4AC581 #4A50C5 #C54A8D
split-complementary
#C5BF4A #4A8DC5 #814AC5
monochromatic
#716D24 #9F9A33 #C5BF4A #D4CF78 #E3E0A7

Accessibility & contrast

On white

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

On black

10.93
#C5BF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BF4A
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BF4A#FFFFFF#000000##000000
##C5BF4A1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5bf4a;
/* rgb */ color: rgb(197, 191, 74);
/* oklch */ color: oklch(78.7% 0.137 106.4);
Tailwind
colors: {
  custom: {
    50: '#d9d282',
    500: '#c5bf4a',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf4a;
$custom-light: #d9d282;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf4a",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 74
  },
  "hsl": {
    "h": 57.073,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78747,
    "c": 0.13732,
    "h": 106.4
  },
  "luminance": 0.49626
}

Semantic roles & 50–950 ramp

primary
#C5BF4A
secondary
#9B9DD0
accent
#54DB4D
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #C5BF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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