#C6CA39#C6CA39

#C6CA39 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.1% C 0.160 H 111.1°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#C6CA39
RGBrgb(198, 202, 57)
HSLhsl(62, 58%, 51%)
HSVhsv(62, 72%, 79%)
CMYKcmyk(2%, 0%, 71.8%, 20.8%)
CIE-LABlab(78.78, -18.40, 67.47)
CIE-LCHlch(78.78, 69.93, 105.25°)
OKLaboklab(81.07% -0.0575 0.1492)
OKLCHoklch(81.07% 0.16 111.1)
XYZxyz(45.1493, 54.5434, 12.0197)
Luminance0.5454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CA39 #3D39CA
analogous
#CA8539 #C6CA39 #7DCA39
triadic
#C6CA39 #39C6CA #CA39C6
tetradic
#C6CA39 #39CA85 #3D39CA #CA397D
square
#C6CA39 #39CA85 #3D39CA #CA397D
split-complementary
#C6CA39 #397DCA #8539CA
monochromatic
#6A6C1D #999C2A #C6CA39 #D4D769 #E2E49A

Accessibility & contrast

On white

1.76
#C6CA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#C6CA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CA39
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CA39#FFFFFF#000000##000000
##C6CA391.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11D
Deuteranopia (green-blind)
#DBC544
Tritanopia (blue-blind)
#D4BDAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c6ca39;
/* rgb */ color: rgb(198, 202, 57);
/* oklch */ color: oklch(81.1% 0.160 111.1);
Tailwind
colors: {
  custom: {
    50: '#dbd979',
    500: '#c6ca39',
    950: '#000000',
  },
}
SCSS
$custom: #c6ca39;
$custom-light: #dbd979;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ca39",
  "rgb": {
    "r": 198,
    "g": 202,
    "b": 57
  },
  "hsl": {
    "h": 61.655,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.81073,
    "c": 0.15988,
    "h": 111.1
  },
  "luminance": 0.54542
}

Semantic roles & 50–950 ramp

primary
#C6CA39
secondary
#343275
accent
#47E14B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6CA39

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

Preview Lab → · Contrast checker → · Palette generator →

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