#C5BF4F#C5BF4F

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

Color values

HEX#C5BF4F
RGBrgb(197, 191, 79)
HSLhsl(57, 50%, 54%)
HSVhsv(57, 60%, 77%)
CMYKcmyk(0%, 3%, 59.9%, 22.7%)
CIE-LABlab(75.88, -12.01, 55.77)
CIE-LCHlch(75.88, 57.05, 102.15°)
OKLaboklab(78.8% -0.0372 0.128)
OKLCHoklch(78.8% 0.133 106.2)
XYZxyz(43.0695, 49.6978, 14.7195)
Luminance0.4970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF4F #4F55C5
analogous
#C5844F #C5BF4F #90C54F
triadic
#C5BF4F #4FC5BF #BF4FC5
tetradic
#C5BF4F #4FC584 #4F55C5 #C54F90
square
#C5BF4F #4FC584 #4F55C5 #C54F90
split-complementary
#C5BF4F #4F90C5 #844FC5
monochromatic
#747026 #A29C35 #C5BF4F #D4D07D #E3E0AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BF4F#FFFFFF#000000##000000
##C5BF4F1.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)
#CEB842
Deuteranopia (green-blind)
#D1BD55
Tritanopia (blue-blind)
#D2B3A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5bf4f;
/* rgb */ color: rgb(197, 191, 79);
/* oklch */ color: oklch(78.8% 0.133 106.2);
Tailwind
colors: {
  custom: {
    50: '#d9d285',
    500: '#c5bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf4f;
$custom-light: #d9d285;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf4f",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 56.949,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78796,
    "c": 0.13326,
    "h": 106.2
  },
  "luminance": 0.49696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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