#C9B233#C9B233

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

Color values

HEX#C9B233
RGBrgb(201, 178, 51)
HSLhsl(51, 60%, 49%)
HSVhsv(51, 75%, 79%)
CMYKcmyk(0%, 11.4%, 74.6%, 21.2%)
CIE-LABlab(72.56, -5.15, 63.73)
CIE-LCHlch(72.56, 63.94, 94.62°)
OKLaboklab(76.17% -0.021 0.1401)
OKLCHoklch(76.17% 0.142 98.5)
XYZxyz(40.6074, 44.4994, 9.5817)
Luminance0.4450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B233 #334AC9
analogous
#C96733 #C9B233 #95C933
triadic
#C9B233 #33C9B2 #B233C9
tetradic
#C9B233 #33C967 #334AC9 #C93395
square
#C9B233 #33C967 #334AC9 #C93395
split-complementary
#C9B233 #3395C9 #6733C9
monochromatic
#675C1A #988727 #C9B233 #D7C562 #E4D793

Accessibility & contrast

On white

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

On black

9.90
#C9B233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B233
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B233#FFFFFF#000000##000000
##C9B2331.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9b233;
/* rgb */ color: rgb(201, 178, 51);
/* oklch */ color: oklch(76.2% 0.142 98.5);
Tailwind
colors: {
  custom: {
    50: '#ddc874',
    500: '#c9b233',
    950: '#000000',
  },
}
SCSS
$custom: #c9b233;
$custom-light: #ddc874;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b233",
  "rgb": {
    "r": 201,
    "g": 178,
    "b": 51
  },
  "hsl": {
    "h": 50.8,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.76173,
    "c": 0.14164,
    "h": 98.5
  },
  "luminance": 0.44497
}

Semantic roles & 50–950 ramp

primary
#C9B233
secondary
#8994CF
accent
#5DE345
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C9B233

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

Preview Lab → · Contrast checker → · Palette generator →

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