#C8BA4B#C8BA4B

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

Color values

HEX#C8BA4B
RGBrgb(200, 186, 75)
HSLhsl(53, 53%, 54%)
HSVhsv(53, 63%, 78%)
CMYKcmyk(0%, 7%, 62.5%, 21.6%)
CIE-LABlab(74.77, -8.44, 56.38)
CIE-LCHlch(74.77, 57.01, 98.51°)
OKLaboklab(77.96% -0.0277 0.1286)
OKLCHoklch(77.96% 0.132 102.1)
XYZxyz(42.6500, 47.9069, 13.6556)
Luminance0.4790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA4B #4B59C8
analogous
#C87C4B #C8BA4B #98C84B
triadic
#C8BA4B #4BC8BA #BA4BC8
tetradic
#C8BA4B #4BC87C #4B59C8 #C84B98
square
#C8BA4B #4BC87C #4B59C8 #C84B98
split-complementary
#C8BA4B #4B98C8 #7C4BC8
monochromatic
#756C24 #A49732 #C8BA4B #D6CC7A #E5DEA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8BA4B#FFFFFF#000000##000000
##C8BA4B1.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43E
Deuteranopia (green-blind)
#CEBB51
Tritanopia (blue-blind)
#D6AEA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8ba4b;
/* rgb */ color: rgb(200, 186, 75);
/* oklch */ color: oklch(78.0% 0.132 102.1);
Tailwind
colors: {
  custom: {
    50: '#dcce82',
    500: '#c8ba4b',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba4b;
$custom-light: #dcce82;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba4b",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 75
  },
  "hsl": {
    "h": 53.28,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77957,
    "c": 0.13157,
    "h": 102.1
  },
  "luminance": 0.47905
}

Semantic roles & 50–950 ramp

primary
#C8BA4B
secondary
#9DA3D2
accent
#5BDD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8BA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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