#C9BF4F#C9BF4F

#C9BF4F is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.1% C 0.133 H 104.2°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#C9BF4F
RGBrgb(201, 191, 79)
HSLhsl(55, 53%, 55%)
HSVhsv(55, 61%, 79%)
CMYKcmyk(0%, 5%, 60.7%, 21.2%)
CIE-LABlab(76.22, -10.32, 56.24)
CIE-LCHlch(76.22, 57.18, 100.40°)
OKLaboklab(79.14% -0.0326 0.1289)
OKLCHoklch(79.14% 0.133 104.2)
XYZxyz(44.1310, 50.2452, 14.7693)
Luminance0.5024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BF4F #4F59C9
analogous
#C9824F #C9BF4F #96C94F
triadic
#C9BF4F #4FC9BF #BF4FC9
tetradic
#C9BF4F #4FC982 #4F59C9 #C94F96
square
#C9BF4F #4FC982 #4F59C9 #C94F96
split-complementary
#C9BF4F #4F96C9 #824FC9
monochromatic
#797225 #A79E33 #C9BF4F #D7D07E #E6E1AD

Accessibility & contrast

On white

1.90
#C9BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#C9BF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BF4F
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BF4F#FFFFFF#000000##000000
##C9BF4F1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB942
Deuteranopia (green-blind)
#D2BE55
Tritanopia (blue-blind)
#D7B3A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c9bf4f;
/* rgb */ color: rgb(201, 191, 79);
/* oklch */ color: oklch(79.1% 0.133 104.2);
Tailwind
colors: {
  custom: {
    50: '#dcd285',
    500: '#c9bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #c9bf4f;
$custom-light: #dcd285;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bf4f",
  "rgb": {
    "r": 201,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 55.082,
    "s": 53.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79144,
    "c": 0.13293,
    "h": 104.2
  },
  "luminance": 0.50244
}

Semantic roles & 50–950 ramp

primary
#C9BF4F
secondary
#3B4181
accent
#57DC4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C9BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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