#C6D238#C6D238

#C6D238 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 82.8% C 0.169 H 114.0°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#C6D238
RGBrgb(198, 210, 56)
HSLhsl(65, 63%, 52%)
HSVhsv(65, 73%, 82%)
CMYKcmyk(5.7%, 0%, 73.3%, 17.6%)
CIE-LABlab(80.95, -22.37, 69.87)
CIE-LCHlch(80.95, 73.37, 107.75°)
OKLaboklab(82.81% -0.0686 0.1541)
OKLCHoklch(82.81% 0.169 114)
XYZxyz(47.0505, 58.3854, 12.5316)
Luminance0.5838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D238 #4438D2
analogous
#D29138 #C6D238 #79D238
triadic
#C6D238 #38C6D2 #D238C6
tetradic
#C6D238 #38D291 #4438D2 #D23879
square
#C6D238 #38D291 #4438D2 #D23879
split-complementary
#C6D238 #3879D2 #9138D2
monochromatic
#6E751A #9DA726 #C6D238 #D4DD6A #E3E99C

Accessibility & contrast

On white

1.66
#C6D238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#C6D238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6D238
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6D238#FFFFFF#000000##000000
##C6D2381.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C817
Deuteranopia (green-blind)
#E1CA45
Tritanopia (blue-blind)
#D3C5B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c6d238;
/* rgb */ color: rgb(198, 210, 56);
/* oklch */ color: oklch(82.8% 0.169 114.0);
Tailwind
colors: {
  custom: {
    50: '#dbdf7a',
    500: '#c6d238',
    950: '#000000',
  },
}
SCSS
$custom: #c6d238;
$custom-light: #dbdf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d238",
  "rgb": {
    "r": 198,
    "g": 210,
    "b": 56
  },
  "hsl": {
    "h": 64.675,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.82813,
    "c": 0.1687,
    "h": 114
  },
  "luminance": 0.58384
}

Semantic roles & 50–950 ramp

primary
#C6D238
secondary
#37317E
accent
#42E64E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C6D238

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

Preview Lab → · Contrast checker → · Palette generator →

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