#C9B230#C9B230

#C9B230 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.2% C 0.143 H 98.7°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#C9B230
RGBrgb(201, 178, 48)
HSLhsl(51, 61%, 49%)
HSVhsv(51, 76%, 79%)
CMYKcmyk(0%, 11.4%, 76.1%, 21.2%)
CIE-LABlab(72.54, -5.27, 64.76)
CIE-LCHlch(72.54, 64.97, 94.65°)
OKLaboklab(76.15% -0.0216 0.1417)
OKLCHoklch(76.15% 0.143 98.7)
XYZxyz(40.5433, 44.4738, 9.2445)
Luminance0.4447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B230 #3047C9
analogous
#C96530 #C9B230 #94C930
triadic
#C9B230 #30C9B2 #B230C9
tetradic
#C9B230 #30C965 #3047C9 #C93094
square
#C9B230 #30C965 #3047C9 #C93094
split-complementary
#C9B230 #3094C9 #6530C9
monochromatic
#665B18 #988624 #C9B230 #D8C65E #E4D78F

Accessibility & contrast

On white

2.12
#C9B230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#C9B230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B230
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B230#FFFFFF#000000##000000
##C9B2301.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD15
Deuteranopia (green-blind)
#CAB539
Tritanopia (blue-blind)
#D9A499
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c9b230;
/* rgb */ color: rgb(201, 178, 48);
/* oklch */ color: oklch(76.2% 0.143 98.7);
Tailwind
colors: {
  custom: {
    50: '#dec872',
    500: '#c9b230',
    950: '#000000',
  },
}
SCSS
$custom: #c9b230;
$custom-light: #dec872;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b230",
  "rgb": {
    "r": 201,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 50.98,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76154,
    "c": 0.14332,
    "h": 98.7
  },
  "luminance": 0.44472
}

Semantic roles & 50–950 ramp

primary
#C9B230
secondary
#8691CF
accent
#5CE543
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C9B230

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

Preview Lab → · Contrast checker → · Palette generator →

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