#C9BF2E#C9BF2E

#C9BF2E 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.98:1 contrast (WCAG AA passes).

Color values

HEX#C9BF2E
RGBrgb(201, 191, 46)
HSLhsl(56, 63%, 48%)
HSVhsv(56, 77%, 79%)
CMYKcmyk(0%, 5%, 77.1%, 21.2%)
CIE-LABlab(75.99, -12.06, 68.57)
CIE-LCHlch(75.99, 69.62, 99.97°)
OKLaboklab(78.89% -0.0409 0.1494)
OKLCHoklch(78.89% 0.155 105.3)
XYZxyz(43.2132, 49.8781, 9.9354)
Luminance0.4988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BF2E #2E38C9
analogous
#C9712E #C9BF2E #85C92E
triadic
#C9BF2E #2EC9BF #BF2EC9
tetradic
#C9BF2E #2EC971 #2E38C9 #C92E85
square
#C9BF2E #2EC971 #2E38C9 #C92E85
split-complementary
#C9BF2E #2E85C9 #712EC9
monochromatic
#656017 #979023 #C9BF2E #D9D15B #E5DF8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #c9bf2e;
/* rgb */ color: rgb(201, 191, 46);
/* oklch */ color: oklch(78.9% 0.155 105.3);
Tailwind
colors: {
  custom: {
    50: '#ddd173',
    500: '#c9bf2e',
    950: '#000000',
  },
}
SCSS
$custom: #c9bf2e;
$custom-light: #ddd173;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bf2e",
  "rgb": {
    "r": 201,
    "g": 191,
    "b": 46
  },
  "hsl": {
    "h": 56.129,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78893,
    "c": 0.15493,
    "h": 105.3
  },
  "luminance": 0.49876
}

Semantic roles & 50–950 ramp

primary
#C9BF2E
secondary
#8489CF
accent
#4DE642
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161409
muted
#84827B

Preview Lab

Preview with #C9BF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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