#C9BA3C#C9BA3C

#C9BA3C 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#C9BA3C
RGBrgb(201, 186, 60)
HSLhsl(54, 57%, 51%)
HSVhsv(54, 70%, 79%)
CMYKcmyk(0%, 7.5%, 70.1%, 21.2%)
CIE-LABlab(74.74, -8.88, 62.53)
CIE-LCHlch(74.74, 63.15, 98.08°)
OKLaboklab(77.92% -0.0306 0.1392)
OKLCHoklch(77.92% 0.143 102.4)
XYZxyz(42.4637, 47.8634, 11.2759)
Luminance0.4786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BA3C #3C4BC9
analogous
#C9733C #C9BA3C #91C93C
triadic
#C9BA3C #3CC9BA #BA3CC9
tetradic
#C9BA3C #3CC973 #3C4BC9 #C93C91
square
#C9BA3C #3CC973 #3C4BC9 #C93C91
split-complementary
#C9BA3C #3C91C9 #733CC9
monochromatic
#6D641E #9C902B #C9BA3C #D6CB6C #E4DC9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9BA3C#FFFFFF#000000##000000
##C9BA3C1.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)
#CBB428
Deuteranopia (green-blind)
#CFBB44
Tritanopia (blue-blind)
#D8ADA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c9ba3c;
/* rgb */ color: rgb(201, 186, 60);
/* oklch */ color: oklch(77.9% 0.143 102.4);
Tailwind
colors: {
  custom: {
    50: '#ddce79',
    500: '#c9ba3c',
    950: '#000000',
  },
}
SCSS
$custom: #c9ba3c;
$custom-light: #ddce79;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ba3c",
  "rgb": {
    "r": 201,
    "g": 186,
    "b": 60
  },
  "hsl": {
    "h": 53.617,
    "s": 56.627,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7792,
    "c": 0.14251,
    "h": 102.4
  },
  "luminance": 0.47862
}

Semantic roles & 50–950 ramp

primary
#C9BA3C
secondary
#9198D0
accent
#58E048
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #C9BA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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