#C8BA56#C8BA56

#C8BA56 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.1% C 0.122 H 101.4°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#C8BA56
RGBrgb(200, 186, 86)
HSLhsl(53, 51%, 56%)
HSVhsv(53, 57%, 78%)
CMYKcmyk(0%, 7%, 57%, 21.6%)
CIE-LABlab(74.87, -7.67, 51.55)
CIE-LCHlch(74.87, 52.11, 98.46°)
OKLaboklab(78.07% -0.0242 0.1198)
OKLCHoklch(78.07% 0.122 101.4)
XYZxyz(43.0595, 48.0707, 15.8127)
Luminance0.4807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA56 #5664C8
analogous
#C88156 #C8BA56 #9DC856
triadic
#C8BA56 #56C8BA #BA56C8
tetradic
#C8BA56 #56C881 #5664C8 #C8569D
square
#C8BA56 #56C881 #5664C8 #C8569D
split-complementary
#C8BA56 #569DC8 #8156C8
monochromatic
#7B7128 #AA9C37 #C8BA56 #D7CD84 #E6E0B2

Accessibility & contrast

On white

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

On black

10.61
#C8BA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA56
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA56#FFFFFF#000000##000000
##C8BA561.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54C
Deuteranopia (green-blind)
#CDBB5B
Tritanopia (blue-blind)
#D6AEA4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8ba56;
/* rgb */ color: rgb(200, 186, 86);
/* oklch */ color: oklch(78.1% 0.122 101.4);
Tailwind
colors: {
  custom: {
    50: '#dbce89',
    500: '#c8ba56',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba56;
$custom-light: #dbce89;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba56",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 86
  },
  "hsl": {
    "h": 52.632,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78073,
    "c": 0.12217,
    "h": 101.4
  },
  "luminance": 0.48069
}

Semantic roles & 50–950 ramp

primary
#C8BA56
secondary
#A5ABD4
accent
#5FDA4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8BA56

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

Preview Lab → · Contrast checker → · Palette generator →

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