#C9BB2E#C9BB2E

#C9BB2E is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.0% C 0.151 H 103.4°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#C9BB2E
RGBrgb(201, 187, 46)
HSLhsl(55, 63%, 48%)
HSVhsv(55, 77%, 79%)
CMYKcmyk(0%, 7%, 77.1%, 21.2%)
CIE-LABlab(74.92, -10.01, 67.60)
CIE-LCHlch(74.92, 68.34, 98.42°)
OKLaboklab(78.04% -0.0352 0.1474)
OKLCHoklch(78.04% 0.152 103.4)
XYZxyz(42.3528, 48.1572, 9.6486)
Luminance0.4815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BB2E #2E3CC9
analogous
#C96E2E #C9BB2E #89C92E
triadic
#C9BB2E #2EC9BB #BB2EC9
tetradic
#C9BB2E #2EC96E #2E3CC9 #C92E89
square
#C9BB2E #2EC96E #2E3CC9 #C92E89
split-complementary
#C9BB2E #2E89C9 #6E2EC9
monochromatic
#655E17 #978D23 #C9BB2E #D9CE5B #E5DD8D

Accessibility & contrast

On white

1.98
#C9BB2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#C9BB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BB2E
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BB2E#FFFFFF#000000##000000
##C9BB2E1.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB508
Deuteranopia (green-blind)
#D1BB39
Tritanopia (blue-blind)
#D9AEA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c9bb2e;
/* rgb */ color: rgb(201, 187, 46);
/* oklch */ color: oklch(78.0% 0.151 103.4);
Tailwind
colors: {
  custom: {
    50: '#decf73',
    500: '#c9bb2e',
    950: '#000000',
  },
}
SCSS
$custom: #c9bb2e;
$custom-light: #decf73;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bb2e",
  "rgb": {
    "r": 201,
    "g": 187,
    "b": 46
  },
  "hsl": {
    "h": 54.581,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78041,
    "c": 0.1515,
    "h": 103.4
  },
  "luminance": 0.48155
}

Semantic roles & 50–950 ramp

primary
#C9BB2E
secondary
#848BCF
accent
#51E642
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C9BB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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