#C9B92E#C9B92E

#C9B92E is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.6% C 0.150 H 102.4°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#C9B92E
RGBrgb(201, 185, 46)
HSLhsl(54, 63%, 48%)
HSVhsv(54, 77%, 79%)
CMYKcmyk(0%, 8%, 77.1%, 21.2%)
CIE-LABlab(74.39, -8.98, 67.11)
CIE-LCHlch(74.39, 67.71, 97.62°)
OKLaboklab(77.62% -0.0323 0.1463)
OKLCHoklch(77.62% 0.15 102.4)
XYZxyz(41.9315, 47.3146, 9.5082)
Luminance0.4731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B92E #2E3EC9
analogous
#C96B2E #C9B92E #8CC92E
triadic
#C9B92E #2EC9B9 #B92EC9
tetradic
#C9B92E #2EC96B #2E3EC9 #C92E8C
square
#C9B92E #2EC96B #2E3EC9 #C92E8C
split-complementary
#C9B92E #2E8CC9 #6B2EC9
monochromatic
#655D17 #978B23 #C9B92E #D9CC5B #E5DC8D

Accessibility & contrast

On white

2.01
#C9B92E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#C9B92E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B92E
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B92E#FFFFFF#000000##000000
##C9B92E1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB30A
Deuteranopia (green-blind)
#CFBA39
Tritanopia (blue-blind)
#D9AB9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c9b92e;
/* rgb */ color: rgb(201, 185, 46);
/* oklch */ color: oklch(77.6% 0.150 102.4);
Tailwind
colors: {
  custom: {
    50: '#decd72',
    500: '#c9b92e',
    950: '#000000',
  },
}
SCSS
$custom: #c9b92e;
$custom-light: #decd72;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b92e",
  "rgb": {
    "r": 201,
    "g": 185,
    "b": 46
  },
  "hsl": {
    "h": 53.806,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77617,
    "c": 0.14984,
    "h": 102.4
  },
  "luminance": 0.47313
}

Semantic roles & 50–950 ramp

primary
#C9B92E
secondary
#848CCF
accent
#53E642
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C9B92E

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

Preview Lab → · Contrast checker → · Palette generator →

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