#C6CB40#C6CB40

#C6CB40 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.3% C 0.157 H 111.4°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#C6CB40
RGBrgb(198, 203, 64)
HSLhsl(62, 57%, 52%)
HSVhsv(62, 68%, 80%)
CMYKcmyk(2.5%, 0%, 68.5%, 20.4%)
CIE-LABlab(79.09, -18.54, 65.26)
CIE-LCHlch(79.09, 67.85, 105.86°)
OKLaboklab(81.34% -0.0572 0.1457)
OKLCHoklch(81.34% 0.157 111.4)
XYZxyz(45.5715, 55.0889, 13.0821)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CB40 #4540CB
analogous
#CB8A40 #C6CB40 #81CB40
triadic
#C6CB40 #40C6CB #CB40C6
tetradic
#C6CB40 #40CB8A #4540CB #CB4081
square
#C6CB40 #40CB8A #4540CB #CB4081
split-complementary
#C6CB40 #4081CB #8A40CB
monochromatic
#6F721F #9EA22C #C6CB40 #D4D870 #E3E5A0

Accessibility & contrast

On white

1.75
#C6CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#C6CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CB40
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CB40#FFFFFF#000000##000000
##C6CB401.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22A
Deuteranopia (green-blind)
#DBC64A
Tritanopia (blue-blind)
#D3BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c6cb40;
/* rgb */ color: rgb(198, 203, 64);
/* oklch */ color: oklch(81.3% 0.157 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbda7d',
    500: '#c6cb40',
    950: '#000000',
  },
}
SCSS
$custom: #c6cb40;
$custom-light: #dbda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cb40",
  "rgb": {
    "r": 198,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 62.158,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81339,
    "c": 0.15656,
    "h": 111.4
  },
  "luminance": 0.55088
}

Semantic roles & 50–950 ramp

primary
#C6CB40
secondary
#37357B
accent
#47E04D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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