#C6D138#C6D138

#C6D138 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.6% C 0.168 H 113.7°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#C6D138
RGBrgb(198, 209, 56)
HSLhsl(64, 62%, 52%)
HSVhsv(64, 73%, 82%)
CMYKcmyk(5.3%, 0%, 73.2%, 18%)
CIE-LABlab(80.68, -21.88, 69.62)
CIE-LCHlch(80.68, 72.97, 107.45°)
OKLaboklab(82.59% -0.0673 0.1536)
OKLCHoklch(82.59% 0.168 113.7)
XYZxyz(46.8044, 57.8932, 12.4495)
Luminance0.5789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D138 #4338D1
analogous
#D19038 #C6D138 #79D138
triadic
#C6D138 #38C6D1 #D138C6
tetradic
#C6D138 #38D190 #4338D1 #D13879
square
#C6D138 #38D190 #4338D1 #D13879
split-complementary
#C6D138 #3879D1 #9038D1
monochromatic
#6D741B #9CA626 #C6D138 #D4DC6A #E2E89B

Accessibility & contrast

On white

1.67
#C6D138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#C6D138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6D138
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6D138#FFFFFF#000000##000000
##C6D1381.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C717
Deuteranopia (green-blind)
#E0CA45
Tritanopia (blue-blind)
#D3C4B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c6d138;
/* rgb */ color: rgb(198, 209, 56);
/* oklch */ color: oklch(82.6% 0.168 113.7);
Tailwind
colors: {
  custom: {
    50: '#dbde7a',
    500: '#c6d138',
    950: '#000000',
  },
}
SCSS
$custom: #c6d138;
$custom-light: #dbde7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d138",
  "rgb": {
    "r": 198,
    "g": 209,
    "b": 56
  },
  "hsl": {
    "h": 64.314,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.82594,
    "c": 0.16766,
    "h": 113.7
  },
  "luminance": 0.57892
}

Semantic roles & 50–950 ramp

primary
#C6D138
secondary
#36317C
accent
#42E64E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C6D138

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

Preview Lab → · Contrast checker → · Palette generator →

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