#C9BC38#C9BC38

#C9BC38 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.3% C 0.147 H 103.6°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#C9BC38
RGBrgb(201, 188, 56)
HSLhsl(55, 57%, 50%)
HSVhsv(55, 72%, 79%)
CMYKcmyk(0%, 6.5%, 72.1%, 21.2%)
CIE-LABlab(75.25, -10.10, 64.51)
CIE-LCHlch(75.25, 65.30, 98.90°)
OKLaboklab(78.32% -0.0345 0.1427)
OKLCHoklch(78.32% 0.147 103.6)
XYZxyz(42.7863, 48.6712, 10.8814)
Luminance0.4867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BC38 #3845C9
analogous
#C97438 #C9BC38 #8DC938
triadic
#C9BC38 #38C9BC #BC38C9
tetradic
#C9BC38 #38C974 #3845C9 #C9388D
square
#C9BC38 #38C974 #3845C9 #C9388D
split-complementary
#C9BC38 #388DC9 #7438C9
monochromatic
#6A631D #9A902A #C9BC38 #D6CC68 #E3DC98

Accessibility & contrast

On white

1.96
#C9BC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#C9BC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BC38
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BC38#FFFFFF#000000##000000
##C9BC381.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB621
Deuteranopia (green-blind)
#D1BC41
Tritanopia (blue-blind)
#D8AFA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c9bc38;
/* rgb */ color: rgb(201, 188, 56);
/* oklch */ color: oklch(78.3% 0.147 103.6);
Tailwind
colors: {
  custom: {
    50: '#ddcf78',
    500: '#c9bc38',
    950: '#000000',
  },
}
SCSS
$custom: #c9bc38;
$custom-light: #ddcf78;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bc38",
  "rgb": {
    "r": 201,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 54.621,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78315,
    "c": 0.14677,
    "h": 103.6
  },
  "luminance": 0.48669
}

Semantic roles & 50–950 ramp

primary
#C9BC38
secondary
#8E94CF
accent
#55E147
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C9BC38

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

Preview Lab → · Contrast checker → · Palette generator →

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