#C6D338#C6D338

#C6D338 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.0% C 0.170 H 114.3°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#C6D338
RGBrgb(198, 211, 56)
HSLhsl(65, 64%, 52%)
HSVhsv(65, 73%, 83%)
CMYKcmyk(6.2%, 0%, 73.5%, 17.3%)
CIE-LABlab(81.23, -22.86, 70.13)
CIE-LCHlch(81.23, 73.76, 108.05°)
OKLaboklab(83.03% -0.07 0.1547)
OKLCHoklch(83.03% 0.17 114.3)
XYZxyz(47.2982, 58.8807, 12.6141)
Luminance0.5888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D338 #4538D3
analogous
#D39238 #C6D338 #79D338
triadic
#C6D338 #38C6D3 #D338C6
tetradic
#C6D338 #38D392 #4538D3 #D33879
square
#C6D338 #38D392 #4538D3 #D33879
split-complementary
#C6D338 #3879D3 #9238D3
monochromatic
#6F761A #9EA925 #C6D338 #D4DE6A #E3E99C

Accessibility & contrast

On white

1.64
#C6D338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#C6D338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6D338
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6D338#FFFFFF#000000##000000
##C6D3381.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C816
Deuteranopia (green-blind)
#E2CB45
Tritanopia (blue-blind)
#D3C6B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c6d338;
/* rgb */ color: rgb(198, 211, 56);
/* oklch */ color: oklch(83.0% 0.170 114.3);
Tailwind
colors: {
  custom: {
    50: '#dbe07a',
    500: '#c6d338',
    950: '#000000',
  },
}
SCSS
$custom: #c6d338;
$custom-light: #dbe07a;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d338",
  "rgb": {
    "r": 198,
    "g": 211,
    "b": 56
  },
  "hsl": {
    "h": 65.032,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.83032,
    "c": 0.16976,
    "h": 114.3
  },
  "luminance": 0.5888
}

Semantic roles & 50–950 ramp

primary
#C6D338
secondary
#37307F
accent
#41E74F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C6D338

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

Preview Lab → · Contrast checker → · Palette generator →

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