#C6D23B#C6D23B

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

Color values

HEX#C6D23B
RGBrgb(198, 210, 59)
HSLhsl(65, 63%, 53%)
HSVhsv(65, 72%, 82%)
CMYKcmyk(5.7%, 0%, 71.9%, 17.6%)
CIE-LABlab(80.97, -22.23, 68.88)
CIE-LCHlch(80.97, 72.38, 107.89°)
OKLaboklab(82.83% -0.068 0.1525)
OKLCHoklch(82.83% 0.167 114)
XYZxyz(47.1261, 58.4156, 12.9296)
Luminance0.5841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D23B #473BD2
analogous
#D2923B #C6D23B #7BD23B
triadic
#C6D23B #3BC6D2 #D23BC6
tetradic
#C6D23B #3BD292 #473BD2 #D23B7B
square
#C6D23B #3BD292 #473BD2 #D23B7B
split-complementary
#C6D23B #3B7BD2 #923BD2
monochromatic
#70771B #9FA927 #C6D23B #D4DD6D #E3E99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6D23B#FFFFFF#000000##000000
##C6D23B1.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)
#E1C81E
Deuteranopia (green-blind)
#E1CA47
Tritanopia (blue-blind)
#D3C6B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c6d23b;
/* rgb */ color: rgb(198, 210, 59);
/* oklch */ color: oklch(82.8% 0.167 114.0);
Tailwind
colors: {
  custom: {
    50: '#dbdf7b',
    500: '#c6d23b',
    950: '#000000',
  },
}
SCSS
$custom: #c6d23b;
$custom-light: #dbdf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d23b",
  "rgb": {
    "r": 198,
    "g": 210,
    "b": 59
  },
  "hsl": {
    "h": 64.768,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.82832,
    "c": 0.167,
    "h": 114
  },
  "luminance": 0.58415
}

Semantic roles & 50–950 ramp

primary
#C6D23B
secondary
#38327F
accent
#42E64F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C6D23B

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

Preview Lab → · Contrast checker → · Palette generator →

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