#C8BA4C#C8BA4C

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

Color values

HEX#C8BA4C
RGBrgb(200, 186, 76)
HSLhsl(53, 53%, 54%)
HSVhsv(53, 62%, 78%)
CMYKcmyk(0%, 7%, 62%, 21.6%)
CIE-LABlab(74.77, -8.38, 55.96)
CIE-LCHlch(74.77, 56.58, 98.51°)
OKLaboklab(77.97% -0.0274 0.1279)
OKLCHoklch(77.97% 0.131 102.1)
XYZxyz(42.6845, 47.9207, 13.8373)
Luminance0.4792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA4C #4C5AC8
analogous
#C87C4C #C8BA4C #98C84C
triadic
#C8BA4C #4CC8BA #BA4CC8
tetradic
#C8BA4C #4CC87C #4C5AC8 #C84C98
square
#C8BA4C #4CC87C #4C5AC8 #C84C98
split-complementary
#C8BA4C #4C98C8 #7C4CC8
monochromatic
#756C24 #A49732 #C8BA4C #D6CC7B #E5DEAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8BA4C#FFFFFF#000000##000000
##C8BA4C1.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)
#CAB53F
Deuteranopia (green-blind)
#CEBB52
Tritanopia (blue-blind)
#D6AEA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8ba4c;
/* rgb */ color: rgb(200, 186, 76);
/* oklch */ color: oklch(78.0% 0.131 102.1);
Tailwind
colors: {
  custom: {
    50: '#dcce83',
    500: '#c8ba4c',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba4c;
$custom-light: #dcce83;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba4c",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 76
  },
  "hsl": {
    "h": 53.226,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77967,
    "c": 0.13076,
    "h": 102.1
  },
  "luminance": 0.47919
}

Semantic roles & 50–950 ramp

primary
#C8BA4C
secondary
#9EA3D2
accent
#5CDC4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8BA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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