#C5BF4D#C5BF4D

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

Color values

HEX#C5BF4D
RGBrgb(197, 191, 77)
HSLhsl(57, 51%, 54%)
HSVhsv(57, 61%, 77%)
CMYKcmyk(0%, 3%, 60.9%, 22.7%)
CIE-LABlab(75.87, -12.14, 56.63)
CIE-LCHlch(75.87, 57.92, 102.10°)
OKLaboklab(78.78% -0.0378 0.1295)
OKLCHoklch(78.78% 0.135 106.3)
XYZxyz(42.9978, 49.6691, 14.3419)
Luminance0.4967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF4D #4D53C5
analogous
#C5834D #C5BF4D #8FC54D
triadic
#C5BF4D #4DC5BF #BF4DC5
tetradic
#C5BF4D #4DC583 #4D53C5 #C54D8F
square
#C5BF4D #4DC583 #4D53C5 #C54D8F
split-complementary
#C5BF4D #4D8FC5 #834DC5
monochromatic
#726E25 #A09B34 #C5BF4D #D4D07B #E3E0A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BF4D#FFFFFF#000000##000000
##C5BF4D1.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)
#CEB840
Deuteranopia (green-blind)
#D1BD54
Tritanopia (blue-blind)
#D2B3A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5bf4d;
/* rgb */ color: rgb(197, 191, 77);
/* oklch */ color: oklch(78.8% 0.135 106.3);
Tailwind
colors: {
  custom: {
    50: '#d9d284',
    500: '#c5bf4d',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf4d;
$custom-light: #d9d284;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf4d",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 77
  },
  "hsl": {
    "h": 57,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78776,
    "c": 0.13491,
    "h": 106.3
  },
  "luminance": 0.49668
}

Semantic roles & 50–950 ramp

primary
#C5BF4D
secondary
#9DA0D1
accent
#55DA4D
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #C5BF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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