#C9BF2D#C9BF2D

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

Color values

HEX#C9BF2D
RGBrgb(201, 191, 45)
HSLhsl(56, 63%, 48%)
HSVhsv(56, 78%, 79%)
CMYKcmyk(0%, 5%, 77.6%, 21.2%)
CIE-LABlab(75.99, -12.09, 68.87)
CIE-LCHlch(75.99, 69.93, 99.96°)
OKLaboklab(78.89% -0.0411 0.1499)
OKLCHoklch(78.89% 0.155 105.3)
XYZxyz(43.1937, 49.8703, 9.8328)
Luminance0.4987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BF2D #2D37C9
analogous
#C9712D #C9BF2D #85C92D
triadic
#C9BF2D #2DC9BF #BF2DC9
tetradic
#C9BF2D #2DC971 #2D37C9 #C92D85
square
#C9BF2D #2DC971 #2D37C9 #C92D85
split-complementary
#C9BF2D #2D85C9 #712DC9
monochromatic
#656017 #978F22 #C9BF2D #DAD259 #E5DF8B

Accessibility & contrast

On white

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

On black

10.97
#C9BF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BF2D
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BF2D#FFFFFF#000000##000000
##C9BF2D1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9bf2d;
/* rgb */ color: rgb(201, 191, 45);
/* oklch */ color: oklch(78.9% 0.155 105.3);
Tailwind
colors: {
  custom: {
    50: '#ded173',
    500: '#c9bf2d',
    950: '#000000',
  },
}
SCSS
$custom: #c9bf2d;
$custom-light: #ded173;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bf2d",
  "rgb": {
    "r": 201,
    "g": 191,
    "b": 45
  },
  "hsl": {
    "h": 56.154,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.78888,
    "c": 0.15543,
    "h": 105.3
  },
  "luminance": 0.49869
}

Semantic roles & 50–950 ramp

primary
#C9BF2D
secondary
#8388CF
accent
#4CE641
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161409
muted
#84827B

Preview Lab

Preview with #C9BF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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