#C8CB59#C8CB59

#C8CB59 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.7% C 0.137 H 110.5°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#C8CB59
RGBrgb(200, 203, 89)
HSLhsl(62, 52%, 57%)
HSVhsv(62, 56%, 80%)
CMYKcmyk(1.5%, 0%, 56.2%, 20.4%)
CIE-LABlab(79.45, -16.09, 55.36)
CIE-LCHlch(79.45, 57.65, 106.21°)
OKLaboklab(81.73% -0.0479 0.1283)
OKLCHoklch(81.73% 0.137 110.5)
XYZxyz(46.9797, 55.7136, 17.7283)
Luminance0.5571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB59 #5C59CB
analogous
#CB9559 #C8CB59 #8FCB59
triadic
#C8CB59 #59C8CB #CB59C8
tetradic
#C8CB59 #59CB95 #5C59CB #CB598F
square
#C8CB59 #59CB95 #5C59CB #CB598F
split-complementary
#C8CB59 #598FCB #9559CB
monochromatic
#7F8128 #ADB037 #C8CB59 #D7DA88 #E7E8B6

Accessibility & contrast

On white

1.73
#C8CB59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#C8CB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB59
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB59#FFFFFF#000000##000000
##C8CB591.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34D
Deuteranopia (green-blind)
#DAC75F
Tritanopia (blue-blind)
#D4C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cb59;
/* rgb */ color: rgb(200, 203, 89);
/* oklch */ color: oklch(81.7% 0.137 110.5);
Tailwind
colors: {
  custom: {
    50: '#dbda8c',
    500: '#c8cb59',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb59;
$custom-light: #dbda8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb59",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 89
  },
  "hsl": {
    "h": 61.579,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81728,
    "c": 0.13691,
    "h": 110.5
  },
  "luminance": 0.55713
}

Semantic roles & 50–950 ramp

primary
#C8CB59
secondary
#413F89
accent
#4CDC50
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8CB59

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

Preview Lab → · Contrast checker → · Palette generator →

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