#C6D738#C6D738

#C6D738 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 83.9% C 0.174 H 115.7°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#C6D738
RGBrgb(198, 215, 56)
HSLhsl(66, 67%, 53%)
HSVhsv(66, 74%, 84%)
CMYKcmyk(7.9%, 0%, 74%, 15.7%)
CIE-LABlab(82.32, -24.79, 71.16)
CIE-LCHlch(82.32, 75.36, 109.20°)
OKLaboklab(83.91% -0.0753 0.1568)
OKLCHoklch(83.91% 0.174 115.7)
XYZxyz(48.3043, 60.8929, 12.9495)
Luminance0.6089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D738 #4938D7
analogous
#D79838 #C6D738 #76D738
triadic
#C6D738 #38C6D7 #D738C6
tetradic
#C6D738 #38D798 #4938D7 #D73876
square
#C6D738 #38D798 #4938D7 #D73876
split-complementary
#C6D738 #3876D7 #9838D7
monochromatic
#717C19 #A0AF23 #C6D738 #D5E16B #E3EB9E

Accessibility & contrast

On white

1.59
#C6D738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#C6D738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6D738
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6D738#FFFFFF#000000##000000
##C6D7381.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC13
Deuteranopia (green-blind)
#E5CE46
Tritanopia (blue-blind)
#D3CBB9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c6d738;
/* rgb */ color: rgb(198, 215, 56);
/* oklch */ color: oklch(83.9% 0.174 115.7);
Tailwind
colors: {
  custom: {
    50: '#dbe37a',
    500: '#c6d738',
    950: '#000000',
  },
}
SCSS
$custom: #c6d738;
$custom-light: #dbe37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d738",
  "rgb": {
    "r": 198,
    "g": 215,
    "b": 56
  },
  "hsl": {
    "h": 66.415,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.83911,
    "c": 0.174,
    "h": 115.7
  },
  "luminance": 0.60892
}

Semantic roles & 50–950 ramp

primary
#C6D738
secondary
#393083
accent
#3EE951
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C6D738

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

Preview Lab → · Contrast checker → · Palette generator →

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