#C9BF2F#C9BF2F

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

Color values

HEX#C9BF2F
RGBrgb(201, 191, 47)
HSLhsl(56, 62%, 49%)
HSVhsv(56, 77%, 79%)
CMYKcmyk(0%, 5%, 76.6%, 21.2%)
CIE-LABlab(76.00, -12.02, 68.26)
CIE-LCHlch(76.00, 69.31, 99.99°)
OKLaboklab(78.9% -0.0407 0.149)
OKLCHoklch(78.9% 0.154 105.3)
XYZxyz(43.2332, 49.8860, 10.0404)
Luminance0.4988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BF2F #2F39C9
analogous
#C9722F #C9BF2F #86C92F
triadic
#C9BF2F #2FC9BF #BF2FC9
tetradic
#C9BF2F #2FC972 #2F39C9 #C92F86
square
#C9BF2F #2FC972 #2F39C9 #C92F86
split-complementary
#C9BF2F #2F86C9 #722FC9
monochromatic
#666118 #979023 #C9BF2F #D9D15C #E5DF8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9BF2F#FFFFFF#000000##000000
##C9BF2F1.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)
#D0B808
Deuteranopia (green-blind)
#D4BE3A
Tritanopia (blue-blind)
#D8B2A4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c9bf2f;
/* rgb */ color: rgb(201, 191, 47);
/* oklch */ color: oklch(78.9% 0.154 105.3);
Tailwind
colors: {
  custom: {
    50: '#ddd173',
    500: '#c9bf2f',
    950: '#000000',
  },
}
SCSS
$custom: #c9bf2f;
$custom-light: #ddd173;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bf2f",
  "rgb": {
    "r": 201,
    "g": 191,
    "b": 47
  },
  "hsl": {
    "h": 56.104,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.78898,
    "c": 0.15443,
    "h": 105.3
  },
  "luminance": 0.49884
}

Semantic roles & 50–950 ramp

primary
#C9BF2F
secondary
#858ACF
accent
#4DE543
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161409
muted
#84827B

Preview Lab

Preview with #C9BF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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