#C9B534#C9B534

#C9B534 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.8% C 0.143 H 100.1°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#C9B534
RGBrgb(201, 181, 52)
HSLhsl(52, 59%, 50%)
HSVhsv(52, 74%, 79%)
CMYKcmyk(0%, 10%, 74.1%, 21.2%)
CIE-LABlab(73.36, -6.67, 64.14)
CIE-LCHlch(73.36, 64.48, 95.94°)
OKLaboklab(76.81% -0.0252 0.1411)
OKLCHoklch(76.81% 0.143 100.1)
XYZxyz(41.2331, 45.7152, 9.9002)
Luminance0.4571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B534 #3448C9
analogous
#C96A34 #C9B534 #93C934
triadic
#C9B534 #34C9B5 #B534C9
tetradic
#C9B534 #34C96A #3448C9 #C93493
square
#C9B534 #34C96A #3448C9 #C93493
split-complementary
#C9B534 #3493C9 #6A34C9
monochromatic
#685D1B #988927 #C9B534 #D7C763 #E3D994

Accessibility & contrast

On white

2.07
#C9B534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#C9B534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B534
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B534#FFFFFF#000000##000000
##C9B5341.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B01C
Deuteranopia (green-blind)
#CCB73D
Tritanopia (blue-blind)
#D9A89C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c9b534;
/* rgb */ color: rgb(201, 181, 52);
/* oklch */ color: oklch(76.8% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#ddca75',
    500: '#c9b534',
    950: '#000000',
  },
}
SCSS
$custom: #c9b534;
$custom-light: #ddca75;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b534",
  "rgb": {
    "r": 201,
    "g": 181,
    "b": 52
  },
  "hsl": {
    "h": 51.946,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76809,
    "c": 0.14335,
    "h": 100.1
  },
  "luminance": 0.45713
}

Semantic roles & 50–950 ramp

primary
#C9B534
secondary
#8A93CE
accent
#5BE246
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C9B534

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

Preview Lab → · Contrast checker → · Palette generator →

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