#C6D938#C6D938

#C6D938 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.4% C 0.176 H 116.3°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#C6D938
RGBrgb(198, 217, 56)
HSLhsl(67, 68%, 54%)
HSVhsv(67, 74%, 85%)
CMYKcmyk(8.8%, 0%, 74.2%, 14.9%)
CIE-LABlab(82.87, -25.74, 71.68)
CIE-LCHlch(82.87, 76.16, 109.76°)
OKLaboklab(84.35% -0.078 0.1579)
OKLCHoklch(84.35% 0.176 116.3)
XYZxyz(48.8166, 61.9177, 13.1203)
Luminance0.6192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D938 #4B38D9
analogous
#D99B38 #C6D938 #75D938
triadic
#C6D938 #38C6D9 #D938C6
tetradic
#C6D938 #38D99B #4B38D9 #D93875
square
#C6D938 #38D99B #4B38D9 #D93875
split-complementary
#C6D938 #3875D9 #9B38D9
monochromatic
#727E18 #A1B222 #C6D938 #D5E36B #E3ED9F

Accessibility & contrast

On white

1.57
#C6D938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#C6D938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6D938
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6D938#FFFFFF#000000##000000
##C6D9381.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE12
Deuteranopia (green-blind)
#E7CF46
Tritanopia (blue-blind)
#D3CDBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c6d938;
/* rgb */ color: rgb(198, 217, 56);
/* oklch */ color: oklch(84.4% 0.176 116.3);
Tailwind
colors: {
  custom: {
    50: '#dbe47b',
    500: '#c6d938',
    950: '#000000',
  },
}
SCSS
$custom: #c6d938;
$custom-light: #dbe47b;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d938",
  "rgb": {
    "r": 198,
    "g": 217,
    "b": 56
  },
  "hsl": {
    "h": 67.081,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.84351,
    "c": 0.17614,
    "h": 116.3
  },
  "luminance": 0.61917
}

Semantic roles & 50–950 ramp

primary
#C6D938
secondary
#3A3086
accent
#3DEB52
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C6D938

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

Preview Lab → · Contrast checker → · Palette generator →

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