#C8BA62#C8BA62

#C8BA62 is a light, moderate yellow. Relative luminance 0.483; OKLCH L 78.2% C 0.111 H 100.4°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#C8BA62
RGBrgb(200, 186, 98)
HSLhsl(52, 48%, 58%)
HSVhsv(52, 51%, 78%)
CMYKcmyk(0%, 7%, 51%, 21.6%)
CIE-LABlab(75.00, -6.68, 45.97)
CIE-LCHlch(75.00, 46.46, 98.27°)
OKLaboklab(78.22% -0.02 0.1089)
OKLCHoklch(78.22% 0.111 100.4)
XYZxyz(43.5842, 48.2806, 18.5762)
Luminance0.4828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA62 #6270C8
analogous
#C88762 #C8BA62 #A3C862
triadic
#C8BA62 #62C8BA #BA62C8
tetradic
#C8BA62 #62C887 #6270C8 #C862A3
square
#C8BA62 #62C887 #6270C8 #C862A3
split-complementary
#C8BA62 #62A3C8 #8762C8
monochromatic
#82762E #AFA03D #C8BA62 #D8CE8F #E8E2BD

Accessibility & contrast

On white

1.97
#C8BA62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#C8BA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA62
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA62#FFFFFF#000000##000000
##C8BA621.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B55A
Deuteranopia (green-blind)
#CCBB66
Tritanopia (blue-blind)
#D5AFA6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8ba62;
/* rgb */ color: rgb(200, 186, 98);
/* oklch */ color: oklch(78.2% 0.111 100.4);
Tailwind
colors: {
  custom: {
    50: '#dbce91',
    500: '#c8ba62',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba62;
$custom-light: #dbce91;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba62",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 98
  },
  "hsl": {
    "h": 51.765,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.7822,
    "c": 0.11072,
    "h": 100.4
  },
  "luminance": 0.48279
}

Semantic roles & 50–950 ramp

primary
#C8BA62
secondary
#AFB4D7
accent
#63D850
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #C8BA62

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

Preview Lab → · Contrast checker → · Palette generator →

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