#C8CB5F#C8CB5F

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

Color values

HEX#C8CB5F
RGBrgb(200, 203, 95)
HSLhsl(62, 51%, 58%)
HSVhsv(62, 53%, 80%)
CMYKcmyk(1.5%, 0%, 53.2%, 20.4%)
CIE-LABlab(79.51, -15.62, 52.70)
CIE-LCHlch(79.51, 54.96, 106.51°)
OKLaboklab(81.8% -0.0459 0.1232)
OKLCHoklch(81.8% 0.131 110.4)
XYZxyz(47.2420, 55.8185, 19.1097)
Luminance0.5582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB5F #625FCB
analogous
#CB985F #C8CB5F #92CB5F
triadic
#C8CB5F #5FC8CB #CB5FC8
tetradic
#C8CB5F #5FCB98 #625FCB #CB5F92
square
#C8CB5F #5FCB98 #625FCB #CB5F92
split-complementary
#C8CB5F #5F92CB #985FCB
monochromatic
#82852B #AFB33A #C8CB5F #D8DA8D #E8E9BB

Accessibility & contrast

On white

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

On black

12.16
#C8CB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB5F
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB5F#FFFFFF#000000##000000
##C8CB5F1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8cb5f;
/* rgb */ color: rgb(200, 203, 95);
/* oklch */ color: oklch(81.8% 0.131 110.4);
Tailwind
colors: {
  custom: {
    50: '#dbda90',
    500: '#c8cb5f',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb5f;
$custom-light: #dbda90;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb5f",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 95
  },
  "hsl": {
    "h": 61.667,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81795,
    "c": 0.13148,
    "h": 110.4
  },
  "luminance": 0.55817
}

Semantic roles & 50–950 ramp

primary
#C8CB5F
secondary
#44428C
accent
#4DDA51
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C8CB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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