#C9BB38#C9BB38

#C9BB38 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.1% C 0.146 H 103.1°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#C9BB38
RGBrgb(201, 187, 56)
HSLhsl(54, 57%, 50%)
HSVhsv(54, 72%, 79%)
CMYKcmyk(0%, 7%, 72.1%, 21.2%)
CIE-LABlab(74.98, -9.59, 64.25)
CIE-LCHlch(74.98, 64.96, 98.49°)
OKLaboklab(78.1% -0.033 0.1421)
OKLCHoklch(78.1% 0.146 103.1)
XYZxyz(42.5734, 48.2455, 10.8104)
Luminance0.4824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BB38 #3846C9
analogous
#C97238 #C9BB38 #8EC938
triadic
#C9BB38 #38C9BB #BB38C9
tetradic
#C9BB38 #38C972 #3846C9 #C9388E
square
#C9BB38 #38C972 #3846C9 #C9388E
split-complementary
#C9BB38 #388EC9 #7238C9
monochromatic
#6A621D #9A8F2A #C9BB38 #D6CB68 #E3DC98

Accessibility & contrast

On white

1.97
#C9BB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#C9BB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BB38
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BB38#FFFFFF#000000##000000
##C9BB381.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB521
Deuteranopia (green-blind)
#D0BB41
Tritanopia (blue-blind)
#D8AEA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c9bb38;
/* rgb */ color: rgb(201, 187, 56);
/* oklch */ color: oklch(78.1% 0.146 103.1);
Tailwind
colors: {
  custom: {
    50: '#ddcf77',
    500: '#c9bb38',
    950: '#000000',
  },
}
SCSS
$custom: #c9bb38;
$custom-light: #ddcf77;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bb38",
  "rgb": {
    "r": 201,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 54.207,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78103,
    "c": 0.1459,
    "h": 103.1
  },
  "luminance": 0.48244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C9BB38

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

Preview Lab → · Contrast checker → · Palette generator →

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