#C9B834#C9B834

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

Color values

HEX#C9B834
RGBrgb(201, 184, 52)
HSLhsl(53, 59%, 50%)
HSVhsv(53, 74%, 79%)
CMYKcmyk(0%, 8.5%, 74.1%, 21.2%)
CIE-LABlab(74.16, -8.22, 64.89)
CIE-LCHlch(74.16, 65.41, 97.22°)
OKLaboklab(77.44% -0.0296 0.1427)
OKLCHoklch(77.44% 0.146 101.7)
XYZxyz(41.8497, 46.9483, 10.1057)
Luminance0.4695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B834 #3445C9
analogous
#C96D34 #C9B834 #90C934
triadic
#C9B834 #34C9B8 #B834C9
tetradic
#C9B834 #34C96D #3445C9 #C93490
square
#C9B834 #34C96D #3445C9 #C93490
split-complementary
#C9B834 #3490C9 #6D34C9
monochromatic
#685F1B #988B27 #C9B834 #D7CA63 #E3DA94

Accessibility & contrast

On white

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

On black

10.39
#C9B834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B834
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B834#FFFFFF#000000##000000
##C9B8341.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B21B
Deuteranopia (green-blind)
#CEB93D
Tritanopia (blue-blind)
#D9AB9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c9b834;
/* rgb */ color: rgb(201, 184, 52);
/* oklch */ color: oklch(77.4% 0.146 101.7);
Tailwind
colors: {
  custom: {
    50: '#ddcc75',
    500: '#c9b834',
    950: '#000000',
  },
}
SCSS
$custom: #c9b834;
$custom-light: #ddcc75;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b834",
  "rgb": {
    "r": 201,
    "g": 184,
    "b": 52
  },
  "hsl": {
    "h": 53.154,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77441,
    "c": 0.14576,
    "h": 101.7
  },
  "luminance": 0.46946
}

Semantic roles & 50–950 ramp

primary
#C9B834
secondary
#8A92CE
accent
#58E246
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C9B834

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

Preview Lab → · Contrast checker → · Palette generator →

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