#C8BA58#C8BA58

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

Color values

HEX#C8BA58
RGBrgb(200, 186, 88)
HSLhsl(53, 50%, 56%)
HSVhsv(53, 56%, 78%)
CMYKcmyk(0%, 7%, 56%, 21.6%)
CIE-LABlab(74.89, -7.51, 50.64)
CIE-LCHlch(74.89, 51.19, 98.44°)
OKLaboklab(78.1% -0.0235 0.118)
OKLCHoklch(78.1% 0.12 101.3)
XYZxyz(43.1412, 48.1034, 16.2430)
Luminance0.4810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA58 #5866C8
analogous
#C88258 #C8BA58 #9EC858
triadic
#C8BA58 #58C8BA #BA58C8
tetradic
#C8BA58 #58C882 #5866C8 #C8589E
square
#C8BA58 #58C882 #5866C8 #C8589E
split-complementary
#C8BA58 #589EC8 #8258C8
monochromatic
#7D7229 #AB9C38 #C8BA58 #D7CD86 #E6E0B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8BA58#FFFFFF#000000##000000
##C8BA581.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)
#C9B54E
Deuteranopia (green-blind)
#CDBB5D
Tritanopia (blue-blind)
#D6AFA4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8ba58;
/* rgb */ color: rgb(200, 186, 88);
/* oklch */ color: oklch(78.1% 0.120 101.3);
Tailwind
colors: {
  custom: {
    50: '#dbce8a',
    500: '#c8ba58',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba58;
$custom-light: #dbce8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba58",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 88
  },
  "hsl": {
    "h": 52.5,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78095,
    "c": 0.12034,
    "h": 101.3
  },
  "luminance": 0.48102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8BA58

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

Preview Lab → · Contrast checker → · Palette generator →

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