#C9B830#C9B830

#C9B830 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.4% C 0.148 H 101.9°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#C9B830
RGBrgb(201, 184, 48)
HSLhsl(53, 61%, 49%)
HSVhsv(53, 76%, 79%)
CMYKcmyk(0%, 8.5%, 76.1%, 21.2%)
CIE-LABlab(74.13, -8.39, 66.23)
CIE-LCHlch(74.13, 66.76, 97.22°)
OKLaboklab(77.42% -0.0304 0.1448)
OKLCHoklch(77.42% 0.148 101.9)
XYZxyz(41.7633, 46.9138, 9.6512)
Luminance0.4691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B830 #3041C9
analogous
#C96C30 #C9B830 #8EC930
triadic
#C9B830 #30C9B8 #B830C9
tetradic
#C9B830 #30C96C #3041C9 #C9308E
square
#C9B830 #30C96C #3041C9 #C9308E
split-complementary
#C9B830 #308EC9 #6C30C9
monochromatic
#665E18 #988B24 #C9B830 #D8CB5E #E4DB8F

Accessibility & contrast

On white

2.02
#C9B830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#C9B830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B830
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B830#FFFFFF#000000##000000
##C9B8301.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB211
Deuteranopia (green-blind)
#CEB93A
Tritanopia (blue-blind)
#D9AB9E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c9b830;
/* rgb */ color: rgb(201, 184, 48);
/* oklch */ color: oklch(77.4% 0.148 101.9);
Tailwind
colors: {
  custom: {
    50: '#ddcc73',
    500: '#c9b830',
    950: '#000000',
  },
}
SCSS
$custom: #c9b830;
$custom-light: #ddcc73;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b830",
  "rgb": {
    "r": 201,
    "g": 184,
    "b": 48
  },
  "hsl": {
    "h": 53.333,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77417,
    "c": 0.14798,
    "h": 101.9
  },
  "luminance": 0.46912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C9B830

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

Preview Lab → · Contrast checker → · Palette generator →

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