#C8CB57#C8CB57

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

Color values

HEX#C8CB57
RGBrgb(200, 203, 87)
HSLhsl(62, 53%, 57%)
HSVhsv(62, 57%, 80%)
CMYKcmyk(1.5%, 0%, 57.1%, 20.4%)
CIE-LABlab(79.43, -16.24, 56.23)
CIE-LCHlch(79.43, 58.53, 106.11°)
OKLaboklab(81.71% -0.0485 0.1299)
OKLCHoklch(81.71% 0.139 110.5)
XYZxyz(46.8969, 55.6805, 17.2920)
Luminance0.5568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB57 #5A57CB
analogous
#CB9457 #C8CB57 #8ECB57
triadic
#C8CB57 #57C8CB #CB57C8
tetradic
#C8CB57 #57CB94 #5A57CB #CB578E
square
#C8CB57 #57CB94 #5A57CB #CB578E
split-complementary
#C8CB57 #578ECB #9457CB
monochromatic
#7E8028 #ACAF36 #C8CB57 #D7D986 #E7E8B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CB57#FFFFFF#000000##000000
##C8CB571.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)
#D9C34A
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#D5C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cb57;
/* rgb */ color: rgb(200, 203, 87);
/* oklch */ color: oklch(81.7% 0.139 110.5);
Tailwind
colors: {
  custom: {
    50: '#dbda8b',
    500: '#c8cb57',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb57;
$custom-light: #dbda8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb57",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 61.552,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81707,
    "c": 0.13865,
    "h": 110.5
  },
  "luminance": 0.55679
}

Semantic roles & 50–950 ramp

primary
#C8CB57
secondary
#403F88
accent
#4CDC4F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8CB57

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

Preview Lab → · Contrast checker → · Palette generator →

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