#C9BA39#C9BA39

#C9BA39 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.9% C 0.144 H 102.5°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#C9BA39
RGBrgb(201, 186, 57)
HSLhsl(54, 57%, 51%)
HSVhsv(54, 72%, 79%)
CMYKcmyk(0%, 7.5%, 71.6%, 21.2%)
CIE-LABlab(74.72, -9.03, 63.63)
CIE-LCHlch(74.72, 64.27, 98.07°)
OKLaboklab(77.9% -0.0313 0.141)
OKLCHoklch(77.9% 0.144 102.5)
XYZxyz(42.3867, 47.8325, 10.8700)
Luminance0.4783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BA39 #3948C9
analogous
#C97239 #C9BA39 #90C939
triadic
#C9BA39 #39C9BA #BA39C9
tetradic
#C9BA39 #39C972 #3948C9 #C93990
square
#C9BA39 #39C972 #3948C9 #C93990
split-complementary
#C9BA39 #3990C9 #7239C9
monochromatic
#6B621D #9B8F2A #C9BA39 #D6CB69 #E3DC99

Accessibility & contrast

On white

1.99
#C9BA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#C9BA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BA39
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BA39#FFFFFF#000000##000000
##C9BA391.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB423
Deuteranopia (green-blind)
#D0BB42
Tritanopia (blue-blind)
#D8ADA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c9ba39;
/* rgb */ color: rgb(201, 186, 57);
/* oklch */ color: oklch(77.9% 0.144 102.5);
Tailwind
colors: {
  custom: {
    50: '#ddce78',
    500: '#c9ba39',
    950: '#000000',
  },
}
SCSS
$custom: #c9ba39;
$custom-light: #ddce78;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ba39",
  "rgb": {
    "r": 201,
    "g": 186,
    "b": 57
  },
  "hsl": {
    "h": 53.75,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77898,
    "c": 0.14442,
    "h": 102.5
  },
  "luminance": 0.47831
}

Semantic roles & 50–950 ramp

primary
#C9BA39
secondary
#8F96CF
accent
#57E047
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C9BA39

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

Preview Lab → · Contrast checker → · Palette generator →

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