#C9BA3B#C9BA3B

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

Color values

HEX#C9BA3B
RGBrgb(201, 186, 59)
HSLhsl(54, 57%, 51%)
HSVhsv(54, 71%, 79%)
CMYKcmyk(0%, 7.5%, 70.6%, 21.2%)
CIE-LABlab(74.73, -8.93, 62.90)
CIE-LCHlch(74.73, 63.53, 98.08°)
OKLaboklab(77.91% -0.0309 0.1398)
OKLCHoklch(77.91% 0.143 102.4)
XYZxyz(42.4376, 47.8529, 11.1380)
Luminance0.4785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BA3B #3B4AC9
analogous
#C9733B #C9BA3B #91C93B
triadic
#C9BA3B #3BC9BA #BA3BC9
tetradic
#C9BA3B #3BC973 #3B4AC9 #C93B91
square
#C9BA3B #3BC973 #3B4AC9 #C93B91
split-complementary
#C9BA3B #3B91C9 #733BC9
monochromatic
#6C641E #9C902B #C9BA3B #D6CB6B #E3DC9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9BA3B#FFFFFF#000000##000000
##C9BA3B1.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)
#CBB427
Deuteranopia (green-blind)
#CFBB43
Tritanopia (blue-blind)
#D8ADA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c9ba3b;
/* rgb */ color: rgb(201, 186, 59);
/* oklch */ color: oklch(77.9% 0.143 102.4);
Tailwind
colors: {
  custom: {
    50: '#ddce79',
    500: '#c9ba3b',
    950: '#000000',
  },
}
SCSS
$custom: #c9ba3b;
$custom-light: #ddce79;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ba3b",
  "rgb": {
    "r": 201,
    "g": 186,
    "b": 59
  },
  "hsl": {
    "h": 53.662,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77912,
    "c": 0.14316,
    "h": 102.4
  },
  "luminance": 0.47851
}

Semantic roles & 50–950 ramp

primary
#C9BA3B
secondary
#9097CF
accent
#58E048
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #C9BA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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