#C9B02F#C9B02F

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

Color values

HEX#C9B02F
RGBrgb(201, 176, 47)
HSLhsl(50, 62%, 49%)
HSVhsv(50, 77%, 79%)
CMYKcmyk(0%, 12.4%, 76.6%, 21.2%)
CIE-LABlab(72.01, -4.26, 64.60)
CIE-LCHlch(72.01, 64.75, 93.78°)
OKLaboklab(75.73% -0.0189 0.1412)
OKLCHoklch(75.73% 0.142 97.6)
XYZxyz(40.1279, 43.6755, 9.0054)
Luminance0.4367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B02F #2F48C9
analogous
#C9632F #C9B02F #95C92F
triadic
#C9B02F #2FC9B0 #B02FC9
tetradic
#C9B02F #2FC963 #2F48C9 #C92F95
square
#C9B02F #2FC963 #2F48C9 #C92F95
split-complementary
#C9B02F #2F95C9 #632FC9
monochromatic
#665918 #978523 #C9B02F #D9C55C #E5D68E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9B02F#FFFFFF#000000##000000
##C9B02F1.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)
#C2AC13
Deuteranopia (green-blind)
#C9B438
Tritanopia (blue-blind)
#D9A297
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c9b02f;
/* rgb */ color: rgb(201, 176, 47);
/* oklch */ color: oklch(75.7% 0.142 97.6);
Tailwind
colors: {
  custom: {
    50: '#dec772',
    500: '#c9b02f',
    950: '#000000',
  },
}
SCSS
$custom: #c9b02f;
$custom-light: #dec772;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b02f",
  "rgb": {
    "r": 201,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 50.26,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.7573,
    "c": 0.1424,
    "h": 97.6
  },
  "luminance": 0.43673
}

Semantic roles & 50–950 ramp

primary
#C9B02F
secondary
#8591CF
accent
#5DE543
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C9B02F

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

Preview Lab → · Contrast checker → · Palette generator →

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