#C9B236#C9B236

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

Color values

HEX#C9B236
RGBrgb(201, 178, 54)
HSLhsl(51, 58%, 50%)
HSVhsv(51, 73%, 79%)
CMYKcmyk(0%, 11.4%, 73.1%, 21.2%)
CIE-LABlab(72.58, -5.01, 62.66)
CIE-LCHlch(72.58, 62.86, 94.58°)
OKLaboklab(76.19% -0.0203 0.1384)
OKLCHoklch(76.19% 0.14 98.3)
XYZxyz(40.6756, 44.5267, 9.9413)
Luminance0.4452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B236 #364DC9
analogous
#C96836 #C9B236 #97C936
triadic
#C9B236 #36C9B2 #B236C9
tetradic
#C9B236 #36C968 #364DC9 #C93697
square
#C9B236 #36C968 #364DC9 #C93697
split-complementary
#C9B236 #3697C9 #6836C9
monochromatic
#695D1C #998729 #C9B236 #D6C466 #E3D796

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9B236#FFFFFF#000000##000000
##C9B2361.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)
#C4AE21
Deuteranopia (green-blind)
#CAB53E
Tritanopia (blue-blind)
#D9A59A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c9b236;
/* rgb */ color: rgb(201, 178, 54);
/* oklch */ color: oklch(76.2% 0.140 98.3);
Tailwind
colors: {
  custom: {
    50: '#ddc875',
    500: '#c9b236',
    950: '#000000',
  },
}
SCSS
$custom: #c9b236;
$custom-light: #ddc875;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b236",
  "rgb": {
    "r": 201,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 50.612,
    "s": 57.647,
    "l": 50
  },
  "oklch": {
    "l": 0.76193,
    "c": 0.13986,
    "h": 98.3
  },
  "luminance": 0.44525
}

Semantic roles & 50–950 ramp

primary
#C9B236
secondary
#8C97CE
accent
#5FE147
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C9B236

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

Preview Lab → · Contrast checker → · Palette generator →

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