#C5BF4B#C5BF4B

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

Color values

HEX#C5BF4B
RGBrgb(197, 191, 75)
HSLhsl(57, 51%, 53%)
HSVhsv(57, 62%, 77%)
CMYKcmyk(0%, 3%, 61.9%, 22.7%)
CIE-LABlab(75.85, -12.28, 57.47)
CIE-LCHlch(75.85, 58.77, 102.06°)
OKLaboklab(78.76% -0.0384 0.131)
OKLCHoklch(78.76% 0.137 106.3)
XYZxyz(42.9282, 49.6413, 13.9757)
Luminance0.4964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF4B #4B51C5
analogous
#C5824B #C5BF4B #8EC54B
triadic
#C5BF4B #4BC5BF #BF4BC5
tetradic
#C5BF4B #4BC582 #4B51C5 #C54B8E
square
#C5BF4B #4BC582 #4B51C5 #C54B8E
split-complementary
#C5BF4B #4B8EC5 #824BC5
monochromatic
#716D24 #9F9A33 #C5BF4B #D4CF79 #E3E0A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BF4B#FFFFFF#000000##000000
##C5BF4B1.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)
#CEB83D
Deuteranopia (green-blind)
#D1BD52
Tritanopia (blue-blind)
#D3B3A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5bf4b;
/* rgb */ color: rgb(197, 191, 75);
/* oklch */ color: oklch(78.8% 0.137 106.3);
Tailwind
colors: {
  custom: {
    50: '#d9d282',
    500: '#c5bf4b',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf4b;
$custom-light: #d9d282;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf4b",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 75
  },
  "hsl": {
    "h": 57.049,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78757,
    "c": 0.13653,
    "h": 106.3
  },
  "luminance": 0.4964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5BF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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