#C9BF31#C9BF31

#C9BF31 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.9% C 0.153 H 105.2°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#C9BF31
RGBrgb(201, 191, 49)
HSLhsl(56, 61%, 49%)
HSVhsv(56, 76%, 79%)
CMYKcmyk(0%, 5%, 75.6%, 21.2%)
CIE-LABlab(76.01, -11.94, 67.63)
CIE-LCHlch(76.01, 68.68, 100.01°)
OKLaboklab(78.91% -0.0403 0.148)
OKLCHoklch(78.91% 0.153 105.2)
XYZxyz(43.2744, 49.9026, 10.2578)
Luminance0.4990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BF31 #313BC9
analogous
#C97331 #C9BF31 #87C931
triadic
#C9BF31 #31C9BF #BF31C9
tetradic
#C9BF31 #31C973 #313BC9 #C93187
square
#C9BF31 #31C973 #313BC9 #C93187
split-complementary
#C9BF31 #3187C9 #7331C9
monochromatic
#676119 #989025 #C9BF31 #D8D05F #E4DF90

Accessibility & contrast

On white

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

On black

10.98
#C9BF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BF31
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BF31#FFFFFF#000000##000000
##C9BF311.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B80F
Deuteranopia (green-blind)
#D4BE3C
Tritanopia (blue-blind)
#D8B2A4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c9bf31;
/* rgb */ color: rgb(201, 191, 49);
/* oklch */ color: oklch(78.9% 0.153 105.2);
Tailwind
colors: {
  custom: {
    50: '#ddd274',
    500: '#c9bf31',
    950: '#000000',
  },
}
SCSS
$custom: #c9bf31;
$custom-light: #ddd274;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bf31",
  "rgb": {
    "r": 201,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 56.053,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7891,
    "c": 0.15339,
    "h": 105.2
  },
  "luminance": 0.49901
}

Semantic roles & 50–950 ramp

primary
#C9BF31
secondary
#878CCF
accent
#4EE444
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161409
muted
#84827B

Preview Lab

Preview with #C9BF31

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

Preview Lab → · Contrast checker → · Palette generator →

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