#C8CB62#C8CB62

#C8CB62 is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.8% C 0.129 H 110.4°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#C8CB62
RGBrgb(200, 203, 98)
HSLhsl(62, 50%, 59%)
HSVhsv(62, 52%, 80%)
CMYKcmyk(1.5%, 0%, 51.7%, 20.4%)
CIE-LABlab(79.54, -15.37, 51.34)
CIE-LCHlch(79.54, 53.59, 106.66°)
OKLaboklab(81.83% -0.0449 0.1206)
OKLCHoklch(81.83% 0.129 110.4)
XYZxyz(47.3810, 55.8741, 19.8418)
Luminance0.5587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB62 #6562CB
analogous
#CB9A62 #C8CB62 #94CB62
triadic
#C8CB62 #62C8CB #CB62C8
tetradic
#C8CB62 #62CB9A #6562CB #CB6294
square
#C8CB62 #62CB9A #6562CB #CB6294
split-complementary
#C8CB62 #6294CB #9A62CB
monochromatic
#84862C #B1B43C #C8CB62 #D8DA90 #E8E9BE

Accessibility & contrast

On white

1.72
#C8CB62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#C8CB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB62
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB62#FFFFFF#000000##000000
##C8CB621.001.7212.1712.17
#FFFFFF1.721.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C358
Deuteranopia (green-blind)
#DAC768
Tritanopia (blue-blind)
#D4C0B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cb62;
/* rgb */ color: rgb(200, 203, 98);
/* oklch */ color: oklch(81.8% 0.129 110.4);
Tailwind
colors: {
  custom: {
    50: '#dbda91',
    500: '#c8cb62',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb62;
$custom-light: #dbda91;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb62",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 98
  },
  "hsl": {
    "h": 61.714,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8183,
    "c": 0.12866,
    "h": 110.4
  },
  "luminance": 0.55873
}

Semantic roles & 50–950 ramp

primary
#C8CB62
secondary
#46448D
accent
#4EDA52
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C8CB62

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

Preview Lab → · Contrast checker → · Palette generator →

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