#C8CB39#C8CB39

#C8CB39 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.5% C 0.160 H 110.7°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#C8CB39
RGBrgb(200, 203, 57)
HSLhsl(61, 58%, 51%)
HSVhsv(61, 72%, 80%)
CMYKcmyk(1.5%, 0%, 71.9%, 20.4%)
CIE-LABlab(79.21, -18.05, 67.93)
CIE-LCHlch(79.21, 70.29, 104.88°)
OKLaboklab(81.46% -0.0566 0.1501)
OKLCHoklch(81.46% 0.16 110.7)
XYZxyz(45.9154, 55.2879, 12.1230)
Luminance0.5529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB39 #3C39CB
analogous
#CB8539 #C8CB39 #7FCB39
triadic
#C8CB39 #39C8CB #CB39C8
tetradic
#C8CB39 #39CB85 #3C39CB #CB397F
square
#C8CB39 #39CB85 #3C39CB #CB397F
split-complementary
#C8CB39 #397FCB #8539CB
monochromatic
#6B6D1D #9B9D29 #C8CB39 #D5D869 #E3E49A

Accessibility & contrast

On white

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

On black

12.06
#C8CB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB39
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB39#FFFFFF#000000##000000
##C8CB391.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21D
Deuteranopia (green-blind)
#DCC644
Tritanopia (blue-blind)
#D6BEAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8cb39;
/* rgb */ color: rgb(200, 203, 57);
/* oklch */ color: oklch(81.5% 0.160 110.7);
Tailwind
colors: {
  custom: {
    50: '#dcda7a',
    500: '#c8cb39',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb39;
$custom-light: #dcda7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb39",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 57
  },
  "hsl": {
    "h": 61.233,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.81455,
    "c": 0.16044,
    "h": 110.7
  },
  "luminance": 0.55287
}

Semantic roles & 50–950 ramp

primary
#C8CB39
secondary
#333276
accent
#46E249
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C8CB39

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

Preview Lab → · Contrast checker → · Palette generator →

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