#C9BE31#C9BE31

#C9BE31 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.7% C 0.153 H 104.8°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#C9BE31
RGBrgb(201, 190, 49)
HSLhsl(56, 61%, 49%)
HSVhsv(56, 76%, 79%)
CMYKcmyk(0%, 5.5%, 75.6%, 21.2%)
CIE-LABlab(75.74, -11.43, 67.39)
CIE-LCHlch(75.74, 68.35, 99.63°)
OKLaboklab(78.7% -0.0389 0.1475)
OKLCHoklch(78.7% 0.153 104.8)
XYZxyz(43.0571, 49.4679, 10.1854)
Luminance0.4947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BE31 #313CC9
analogous
#C97231 #C9BE31 #88C931
triadic
#C9BE31 #31C9BE #BE31C9
tetradic
#C9BE31 #31C972 #313CC9 #C93188
square
#C9BE31 #31C972 #313CC9 #C93188
split-complementary
#C9BE31 #3188C9 #7231C9
monochromatic
#676119 #988F25 #C9BE31 #D8CF5F #E4DE90

Accessibility & contrast

On white

1.93
#C9BE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#C9BE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BE31
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BE31#FFFFFF#000000##000000
##C9BE311.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB710
Deuteranopia (green-blind)
#D3BD3C
Tritanopia (blue-blind)
#D8B1A3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c9be31;
/* rgb */ color: rgb(201, 190, 49);
/* oklch */ color: oklch(78.7% 0.153 104.8);
Tailwind
colors: {
  custom: {
    50: '#ddd174',
    500: '#c9be31',
    950: '#000000',
  },
}
SCSS
$custom: #c9be31;
$custom-light: #ddd174;
$custom-dark: #000000;
JSON
{
  "hex": "#c9be31",
  "rgb": {
    "r": 201,
    "g": 190,
    "b": 49
  },
  "hsl": {
    "h": 55.658,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78696,
    "c": 0.15251,
    "h": 104.8
  },
  "luminance": 0.49466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C9BE31

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

Preview Lab → · Contrast checker → · Palette generator →

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