#C9B930#C9B930

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

Color values

HEX#C9B930
RGBrgb(201, 185, 48)
HSLhsl(54, 61%, 49%)
HSVhsv(54, 76%, 79%)
CMYKcmyk(0%, 8%, 76.1%, 21.2%)
CIE-LABlab(74.40, -8.91, 66.48)
CIE-LCHlch(74.40, 67.07, 97.63°)
OKLaboklab(77.63% -0.0319 0.1453)
OKLCHoklch(77.63% 0.149 102.4)
XYZxyz(41.9718, 47.3307, 9.7206)
Luminance0.4733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B930 #3040C9
analogous
#C96C30 #C9B930 #8DC930
triadic
#C9B930 #30C9B9 #B930C9
tetradic
#C9B930 #30C96C #3040C9 #C9308D
square
#C9B930 #30C96C #3040C9 #C9308D
split-complementary
#C9B930 #308DC9 #6C30C9
monochromatic
#665E18 #988C24 #C9B930 #D8CC5E #E4DB8F

Accessibility & contrast

On white

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

On black

10.47
#C9B930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B930
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B930#FFFFFF#000000##000000
##C9B9301.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB311
Deuteranopia (green-blind)
#CFBA3A
Tritanopia (blue-blind)
#D9AC9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c9b930;
/* rgb */ color: rgb(201, 185, 48);
/* oklch */ color: oklch(77.6% 0.149 102.4);
Tailwind
colors: {
  custom: {
    50: '#ddcd73',
    500: '#c9b930',
    950: '#000000',
  },
}
SCSS
$custom: #c9b930;
$custom-light: #ddcd73;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b930",
  "rgb": {
    "r": 201,
    "g": 185,
    "b": 48
  },
  "hsl": {
    "h": 53.725,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77628,
    "c": 0.14879,
    "h": 102.4
  },
  "luminance": 0.47329
}

Semantic roles & 50–950 ramp

primary
#C9B930
secondary
#868ECF
accent
#54E543
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C9B930

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

Preview Lab → · Contrast checker → · Palette generator →

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