#C8CB42#C8CB42

#C8CB42 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.5% C 0.155 H 110.6°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#C8CB42
RGBrgb(200, 203, 66)
HSLhsl(61, 57%, 53%)
HSVhsv(61, 67%, 80%)
CMYKcmyk(1.5%, 0%, 67.5%, 20.4%)
CIE-LABlab(79.26, -17.60, 64.73)
CIE-LCHlch(79.26, 67.08, 105.21°)
OKLaboklab(81.52% -0.0545 0.1449)
OKLCHoklch(81.52% 0.155 110.6)
XYZxyz(46.1602, 55.3858, 13.4121)
Luminance0.5538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB42 #4542CB
analogous
#CB8A42 #C8CB42 #83CB42
triadic
#C8CB42 #42C8CB #CB42C8
tetradic
#C8CB42 #42CB8A #4542CB #CB4283
square
#C8CB42 #42CB8A #4542CB #CB4283
split-complementary
#C8CB42 #4283CB #8A42CB
monochromatic
#717320 #A0A32D #C8CB42 #D6D872 #E4E5A2

Accessibility & contrast

On white

1.74
#C8CB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#C8CB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB42
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB42#FFFFFF#000000##000000
##C8CB421.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC22D
Deuteranopia (green-blind)
#DCC64C
Tritanopia (blue-blind)
#D6BFB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8cb42;
/* rgb */ color: rgb(200, 203, 66);
/* oklch */ color: oklch(81.5% 0.155 110.6);
Tailwind
colors: {
  custom: {
    50: '#dcda7e',
    500: '#c8cb42',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb42;
$custom-light: #dcda7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb42",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 61.314,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81518,
    "c": 0.1548,
    "h": 110.6
  },
  "luminance": 0.55385
}

Semantic roles & 50–950 ramp

primary
#C8CB42
secondary
#37357C
accent
#48E04B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8CB42

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

Preview Lab → · Contrast checker → · Palette generator →

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