#C8BA57#C8BA57

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

Color values

HEX#C8BA57
RGBrgb(200, 186, 87)
HSLhsl(53, 51%, 56%)
HSVhsv(53, 57%, 78%)
CMYKcmyk(0%, 7%, 56.5%, 21.6%)
CIE-LABlab(74.88, -7.59, 51.09)
CIE-LCHlch(74.88, 51.65, 98.45°)
OKLaboklab(78.08% -0.0238 0.1189)
OKLCHoklch(78.08% 0.121 101.3)
XYZxyz(43.1001, 48.0869, 16.0264)
Luminance0.4808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA57 #5765C8
analogous
#C88257 #C8BA57 #9EC857
triadic
#C8BA57 #57C8BA #BA57C8
tetradic
#C8BA57 #57C882 #5765C8 #C8579E
square
#C8BA57 #57C882 #5765C8 #C8579E
split-complementary
#C8BA57 #579EC8 #8257C8
monochromatic
#7C7229 #AA9C38 #C8BA57 #D7CD85 #E6E0B3

Accessibility & contrast

On white

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

On black

10.62
#C8BA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA57
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA57#FFFFFF#000000##000000
##C8BA571.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ba57;
/* rgb */ color: rgb(200, 186, 87);
/* oklch */ color: oklch(78.1% 0.121 101.3);
Tailwind
colors: {
  custom: {
    50: '#dbce89',
    500: '#c8ba57',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba57;
$custom-light: #dbce89;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba57",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 87
  },
  "hsl": {
    "h": 52.566,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78084,
    "c": 0.12126,
    "h": 101.3
  },
  "luminance": 0.48085
}

Semantic roles & 50–950 ramp

primary
#C8BA57
secondary
#A6ACD5
accent
#5FDA4E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8BA57

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

Preview Lab → · Contrast checker → · Palette generator →

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