#C9B02E#C9B02E

#C9B02E is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.7% C 0.143 H 97.7°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#C9B02E
RGBrgb(201, 176, 46)
HSLhsl(50, 63%, 48%)
HSVhsv(50, 77%, 79%)
CMYKcmyk(0%, 12.4%, 77.1%, 21.2%)
CIE-LABlab(72.01, -4.30, 64.94)
CIE-LCHlch(72.01, 65.08, 93.79°)
OKLaboklab(75.72% -0.0191 0.1417)
OKLCHoklch(75.72% 0.143 97.7)
XYZxyz(40.1080, 43.6675, 8.9003)
Luminance0.4366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B02E #2E47C9
analogous
#C9632E #C9B02E #94C92E
triadic
#C9B02E #2EC9B0 #B02EC9
tetradic
#C9B02E #2EC963 #2E47C9 #C92E94
square
#C9B02E #2EC963 #2E47C9 #C92E94
split-complementary
#C9B02E #2E94C9 #632EC9
monochromatic
#655917 #978423 #C9B02E #D9C55B #E5D78D

Accessibility & contrast

On white

2.16
#C9B02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#C9B02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B02E
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B02E#FFFFFF#000000##000000
##C9B02E1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC11
Deuteranopia (green-blind)
#C9B437
Tritanopia (blue-blind)
#D9A297
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c9b02e;
/* rgb */ color: rgb(201, 176, 46);
/* oklch */ color: oklch(75.7% 0.143 97.7);
Tailwind
colors: {
  custom: {
    50: '#dec771',
    500: '#c9b02e',
    950: '#000000',
  },
}
SCSS
$custom: #c9b02e;
$custom-light: #dec771;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b02e",
  "rgb": {
    "r": 201,
    "g": 176,
    "b": 46
  },
  "hsl": {
    "h": 50.323,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75724,
    "c": 0.14294,
    "h": 97.7
  },
  "luminance": 0.43665
}

Semantic roles & 50–950 ramp

primary
#C9B02E
secondary
#8490CF
accent
#5CE642
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C9B02E

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

Preview Lab → · Contrast checker → · Palette generator →

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