#C9BF2C#C9BF2C

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

Color values

HEX#C9BF2C
RGBrgb(201, 191, 44)
HSLhsl(56, 64%, 48%)
HSVhsv(56, 78%, 79%)
CMYKcmyk(0%, 5%, 78.1%, 21.2%)
CIE-LABlab(75.98, -12.13, 69.17)
CIE-LCHlch(75.98, 70.23, 99.95°)
OKLaboklab(78.88% -0.0413 0.1504)
OKLCHoklch(78.88% 0.156 105.3)
XYZxyz(43.1747, 49.8627, 9.7326)
Luminance0.4986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BF2C #2C36C9
analogous
#C9702C #C9BF2C #85C92C
triadic
#C9BF2C #2CC9BF #BF2CC9
tetradic
#C9BF2C #2CC970 #2C36C9 #C92C85
square
#C9BF2C #2CC970 #2C36C9 #C92C85
split-complementary
#C9BF2C #2C85C9 #702CC9
monochromatic
#656016 #978F21 #C9BF2C #DAD258 #E5E08A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9BF2C#FFFFFF#000000##000000
##C9BF2C1.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)
#D0B800
Deuteranopia (green-blind)
#D4BE38
Tritanopia (blue-blind)
#D8B2A4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c9bf2c;
/* rgb */ color: rgb(201, 191, 44);
/* oklch */ color: oklch(78.9% 0.156 105.3);
Tailwind
colors: {
  custom: {
    50: '#ded172',
    500: '#c9bf2c',
    950: '#000000',
  },
}
SCSS
$custom: #c9bf2c;
$custom-light: #ded172;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bf2c",
  "rgb": {
    "r": 201,
    "g": 191,
    "b": 44
  },
  "hsl": {
    "h": 56.178,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78882,
    "c": 0.15591,
    "h": 105.3
  },
  "luminance": 0.49861
}

Semantic roles & 50–950 ramp

primary
#C9BF2C
secondary
#8287CF
accent
#4BE741
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161409
muted
#84827B

Preview Lab

Preview with #C9BF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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