#C6CB39#C6CB39

#C6CB39 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.3% C 0.161 H 111.5°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#C6CB39
RGBrgb(198, 203, 57)
HSLhsl(62, 58%, 51%)
HSVhsv(62, 72%, 80%)
CMYKcmyk(2.5%, 0%, 71.9%, 20.4%)
CIE-LABlab(79.05, -18.89, 67.73)
CIE-LCHlch(79.05, 70.31, 105.58°)
OKLaboklab(81.29% -0.0589 0.1497)
OKLCHoklch(81.29% 0.161 111.5)
XYZxyz(45.3847, 55.0142, 12.0982)
Luminance0.5501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CB39 #3E39CB
analogous
#CB8739 #C6CB39 #7DCB39
triadic
#C6CB39 #39C6CB #CB39C6
tetradic
#C6CB39 #39CB87 #3E39CB #CB397D
square
#C6CB39 #39CB87 #3E39CB #CB397D
split-complementary
#C6CB39 #397DCB #8739CB
monochromatic
#6A6D1D #999D29 #C6CB39 #D4D869 #E2E49A

Accessibility & contrast

On white

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

On black

12.00
#C6CB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CB39
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CB39#FFFFFF#000000##000000
##C6CB391.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6cb39;
/* rgb */ color: rgb(198, 203, 57);
/* oklch */ color: oklch(81.3% 0.161 111.5);
Tailwind
colors: {
  custom: {
    50: '#dbda7a',
    500: '#c6cb39',
    950: '#000000',
  },
}
SCSS
$custom: #c6cb39;
$custom-light: #dbda7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cb39",
  "rgb": {
    "r": 198,
    "g": 203,
    "b": 57
  },
  "hsl": {
    "h": 62.055,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.81291,
    "c": 0.1609,
    "h": 111.5
  },
  "luminance": 0.55013
}

Semantic roles & 50–950 ramp

primary
#C6CB39
secondary
#343276
accent
#46E24C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6CB39

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

Preview Lab → · Contrast checker → · Palette generator →

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