#C9BA3F#C9BA3F

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

Color values

HEX#C9BA3F
RGBrgb(201, 186, 63)
HSLhsl(53, 56%, 52%)
HSVhsv(53, 69%, 79%)
CMYKcmyk(0%, 7.5%, 68.7%, 21.2%)
CIE-LABlab(74.76, -8.72, 61.38)
CIE-LCHlch(74.76, 62.00, 98.09°)
OKLaboklab(77.94% -0.0299 0.1373)
OKLCHoklch(77.94% 0.141 102.3)
XYZxyz(42.5453, 47.8960, 11.7055)
Luminance0.4789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BA3F #3F4EC9
analogous
#C9753F #C9BA3F #93C93F
triadic
#C9BA3F #3FC9BA #BA3FC9
tetradic
#C9BA3F #3FC975 #3F4EC9 #C93F93
square
#C9BA3F #3FC975 #3F4EC9 #C93F93
split-complementary
#C9BA3F #3F93C9 #753FC9
monochromatic
#6F661F #9E922D #C9BA3F #D6CB6F #E4DC9F

Accessibility & contrast

On white

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

On black

10.58
#C9BA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BA3F
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BA3F#FFFFFF#000000##000000
##C9BA3F1.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9ba3f;
/* rgb */ color: rgb(201, 186, 63);
/* oklch */ color: oklch(77.9% 0.141 102.3);
Tailwind
colors: {
  custom: {
    50: '#ddce7b',
    500: '#c9ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #c9ba3f;
$custom-light: #ddce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ba3f",
  "rgb": {
    "r": 201,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 53.478,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77942,
    "c": 0.1405,
    "h": 102.3
  },
  "luminance": 0.47894
}

Semantic roles & 50–950 ramp

primary
#C9BA3F
secondary
#949AD0
accent
#59DF48
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #C9BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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