#C6D23C#C6D23C

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

Color values

HEX#C6D23C
RGBrgb(198, 210, 60)
HSLhsl(65, 63%, 53%)
HSVhsv(65, 71%, 82%)
CMYKcmyk(5.7%, 0%, 71.4%, 17.6%)
CIE-LABlab(80.98, -22.18, 68.55)
CIE-LCHlch(80.98, 72.05, 107.93°)
OKLaboklab(82.84% -0.0678 0.152)
OKLCHoklch(82.84% 0.166 114)
XYZxyz(47.1523, 58.4261, 13.0676)
Luminance0.5843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D23C #483CD2
analogous
#D2933C #C6D23C #7BD23C
triadic
#C6D23C #3CC6D2 #D23CC6
tetradic
#C6D23C #3CD293 #483CD2 #D23C7B
square
#C6D23C #3CD293 #483CD2 #D23C7B
split-complementary
#C6D23C #3C7BD2 #933CD2
monochromatic
#71781C #9FAA27 #C6D23C #D5DD6E #E3E99F

Accessibility & contrast

On white

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

On black

12.69
#C6D23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6D23C
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6D23C#FFFFFF#000000##000000
##C6D23C1.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C820
Deuteranopia (green-blind)
#E1CA48
Tritanopia (blue-blind)
#D3C6B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c6d23c;
/* rgb */ color: rgb(198, 210, 60);
/* oklch */ color: oklch(82.8% 0.166 114.0);
Tailwind
colors: {
  custom: {
    50: '#dbdf7c',
    500: '#c6d23c',
    950: '#000000',
  },
}
SCSS
$custom: #c6d23c;
$custom-light: #dbdf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d23c",
  "rgb": {
    "r": 198,
    "g": 210,
    "b": 60
  },
  "hsl": {
    "h": 64.8,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82838,
    "c": 0.16641,
    "h": 114
  },
  "luminance": 0.58425
}

Semantic roles & 50–950 ramp

primary
#C6D23C
secondary
#383280
accent
#42E64F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C6D23C

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

Preview Lab → · Contrast checker → · Palette generator →

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