#C9BA4E#C9BA4E

#C9BA4E is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.1% C 0.129 H 101.4°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#C9BA4E
RGBrgb(201, 186, 78)
HSLhsl(53, 53%, 55%)
HSVhsv(53, 61%, 79%)
CMYKcmyk(0%, 7.5%, 61.2%, 21.2%)
CIE-LABlab(74.88, -7.82, 55.21)
CIE-LCHlch(74.88, 55.76, 98.06°)
OKLaboklab(78.08% -0.0256 0.1265)
OKLCHoklch(78.08% 0.129 101.4)
XYZxyz(43.0231, 48.0871, 14.2218)
Luminance0.4808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BA4E #4E5DC9
analogous
#C97D4E #C9BA4E #9BC94E
triadic
#C9BA4E #4EC9BA #BA4EC9
tetradic
#C9BA4E #4EC97D #4E5DC9 #C94E9B
square
#C9BA4E #4EC97D #4E5DC9 #C94E9B
split-complementary
#C9BA4E #4E9BC9 #7D4EC9
monochromatic
#786E25 #A79933 #C9BA4E #D7CC7D #E6DFAC

Accessibility & contrast

On white

1.98
#C9BA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#C9BA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BA4E
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BA4E#FFFFFF#000000##000000
##C9BA4E1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB542
Deuteranopia (green-blind)
#CEBB54
Tritanopia (blue-blind)
#D7AEA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c9ba4e;
/* rgb */ color: rgb(201, 186, 78);
/* oklch */ color: oklch(78.1% 0.129 101.4);
Tailwind
colors: {
  custom: {
    50: '#dcce84',
    500: '#c9ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #c9ba4e;
$custom-light: #dcce84;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ba4e",
  "rgb": {
    "r": 201,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 52.683,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78077,
    "c": 0.1291,
    "h": 101.4
  },
  "luminance": 0.48085
}

Semantic roles & 50–950 ramp

primary
#C9BA4E
secondary
#9FA6D3
accent
#5DDD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C9BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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