#C6CB57#C6CB57

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

Color values

HEX#C6CB57
RGBrgb(198, 203, 87)
HSLhsl(63, 53%, 57%)
HSVhsv(63, 57%, 80%)
CMYKcmyk(2.5%, 0%, 57.1%, 20.4%)
CIE-LABlab(79.28, -17.07, 56.01)
CIE-LCHlch(79.28, 58.55, 106.95°)
OKLaboklab(81.54% -0.0507 0.1295)
OKLCHoklch(81.54% 0.139 111.4)
XYZxyz(46.3661, 55.4068, 17.2671)
Luminance0.5541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CB57 #5C57CB
analogous
#CB9657 #C6CB57 #8CCB57
triadic
#C6CB57 #57C6CB #CB57C6
tetradic
#C6CB57 #57CB96 #5C57CB #CB578C
square
#C6CB57 #57CB96 #5C57CB #CB578C
split-complementary
#C6CB57 #578CCB #9657CB
monochromatic
#7C8028 #AAAF36 #C6CB57 #D6D986 #E6E8B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6CB57#FFFFFF#000000##000000
##C6CB571.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)
#D9C34A
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#D2C0B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c6cb57;
/* rgb */ color: rgb(198, 203, 87);
/* oklch */ color: oklch(81.5% 0.139 111.4);
Tailwind
colors: {
  custom: {
    50: '#dada8a',
    500: '#c6cb57',
    950: '#000000',
  },
}
SCSS
$custom: #c6cb57;
$custom-light: #dada8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cb57",
  "rgb": {
    "r": 198,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 62.586,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81543,
    "c": 0.13904,
    "h": 111.4
  },
  "luminance": 0.55406
}

Semantic roles & 50–950 ramp

primary
#C6CB57
secondary
#423F88
accent
#4CDC52
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C6CB57

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

Preview Lab → · Contrast checker → · Palette generator →

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