#C8BA4E#C8BA4E

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

Color values

HEX#C8BA4E
RGBrgb(200, 186, 78)
HSLhsl(53, 53%, 55%)
HSVhsv(53, 61%, 78%)
CMYKcmyk(0%, 7%, 61%, 21.6%)
CIE-LABlab(74.79, -8.24, 55.09)
CIE-LCHlch(74.79, 55.71, 98.51°)
OKLaboklab(77.99% -0.0267 0.1263)
OKLCHoklch(77.99% 0.129 102)
XYZxyz(42.7551, 47.9489, 14.2092)
Luminance0.4795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA4E #4E5CC8
analogous
#C87D4E #C8BA4E #99C84E
triadic
#C8BA4E #4EC8BA #BA4EC8
tetradic
#C8BA4E #4EC87D #4E5CC8 #C84E99
square
#C8BA4E #4EC87D #4E5CC8 #C84E99
split-complementary
#C8BA4E #4E99C8 #7D4EC8
monochromatic
#776D25 #A59833 #C8BA4E #D7CC7D #E5DEAB

Accessibility & contrast

On white

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

On black

10.59
#C8BA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA4E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA4E#FFFFFF#000000##000000
##C8BA4E1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ba4e;
/* rgb */ color: rgb(200, 186, 78);
/* oklch */ color: oklch(78.0% 0.129 102.0);
Tailwind
colors: {
  custom: {
    50: '#dcce84',
    500: '#c8ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba4e;
$custom-light: #dcce84;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba4e",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 53.115,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77987,
    "c": 0.12911,
    "h": 102
  },
  "luminance": 0.47947
}

Semantic roles & 50–950 ramp

primary
#C8BA4E
secondary
#9FA5D3
accent
#5CDC4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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