#C9BF40#C9BF40

#C9BF40 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.0% C 0.144 H 104.8°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#C9BF40
RGBrgb(201, 191, 64)
HSLhsl(56, 56%, 52%)
HSVhsv(56, 68%, 79%)
CMYKcmyk(0%, 5%, 68.2%, 21.2%)
CIE-LABlab(76.10, -11.24, 62.35)
CIE-LCHlch(76.10, 63.35, 100.22°)
OKLaboklab(79.01% -0.0369 0.1395)
OKLCHoklch(79.01% 0.144 104.8)
XYZxyz(43.6453, 50.0509, 12.2113)
Luminance0.5005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BF40 #404AC9
analogous
#C97A40 #C9BF40 #8FC940
triadic
#C9BF40 #40C9BF #BF40C9
tetradic
#C9BF40 #40C97A #404AC9 #C9408F
square
#C9BF40 #40C97A #404AC9 #C9408F
split-complementary
#C9BF40 #408FC9 #7A40C9
monochromatic
#6F691F #9F972D #C9BF40 #D6CF70 #E4DF9F

Accessibility & contrast

On white

1.91
#C9BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#C9BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BF40
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BF40#FFFFFF#000000##000000
##C9BF401.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#D3BE48
Tritanopia (blue-blind)
#D8B2A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c9bf40;
/* rgb */ color: rgb(201, 191, 64);
/* oklch */ color: oklch(79.0% 0.144 104.8);
Tailwind
colors: {
  custom: {
    50: '#ddd27c',
    500: '#c9bf40',
    950: '#000000',
  },
}
SCSS
$custom: #c9bf40;
$custom-light: #ddd27c;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bf40",
  "rgb": {
    "r": 201,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 55.62,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79011,
    "c": 0.14428,
    "h": 104.8
  },
  "luminance": 0.50049
}

Semantic roles & 50–950 ramp

primary
#C9BF40
secondary
#353A78
accent
#54DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C9BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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