#C8BA4F#C8BA4F

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

Color values

HEX#C8BA4F
RGBrgb(200, 186, 79)
HSLhsl(53, 52%, 55%)
HSVhsv(53, 61%, 78%)
CMYKcmyk(0%, 7%, 60.5%, 21.6%)
CIE-LABlab(74.80, -8.17, 54.66)
CIE-LCHlch(74.80, 55.27, 98.50°)
OKLaboklab(78% -0.0264 0.1255)
OKLCHoklch(78% 0.128 101.9)
XYZxyz(42.7912, 47.9634, 14.3994)
Luminance0.4796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA4F #4F5DC8
analogous
#C87E4F #C8BA4F #99C84F
triadic
#C8BA4F #4FC8BA #BA4FC8
tetradic
#C8BA4F #4FC87E #4F5DC8 #C84F99
square
#C8BA4F #4FC87E #4F5DC8 #C84F99
split-complementary
#C8BA4F #4F99C8 #7E4FC8
monochromatic
#776E25 #A69934 #C8BA4F #D7CC7E #E5DFAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8BA4F#FFFFFF#000000##000000
##C8BA4F1.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)
#CAB543
Deuteranopia (green-blind)
#CEBB55
Tritanopia (blue-blind)
#D6AEA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8ba4f;
/* rgb */ color: rgb(200, 186, 79);
/* oklch */ color: oklch(78.0% 0.128 101.9);
Tailwind
colors: {
  custom: {
    50: '#dbce84',
    500: '#c8ba4f',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba4f;
$custom-light: #dbce84;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba4f",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 79
  },
  "hsl": {
    "h": 53.058,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77997,
    "c": 0.12827,
    "h": 101.9
  },
  "luminance": 0.47962
}

Semantic roles & 50–950 ramp

primary
#C8BA4F
secondary
#A0A6D3
accent
#5DDC4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8BA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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