#C2D23B#C2D23B

#C2D23B is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.5% C 0.168 H 115.5°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#C2D23B
RGBrgb(194, 210, 59)
HSLhsl(66, 63%, 53%)
HSVhsv(66, 72%, 82%)
CMYKcmyk(7.6%, 0%, 71.9%, 17.6%)
CIE-LABlab(80.67, -23.88, 68.49)
CIE-LCHlch(80.67, 72.54, 109.22°)
OKLaboklab(82.52% -0.0724 0.1518)
OKLCHoklch(82.52% 0.168 115.5)
XYZxyz(46.0854, 57.8790, 12.8809)
Luminance0.5788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D23B #4B3BD2
analogous
#D2973B #C2D23B #76D23B
triadic
#C2D23B #3BC2D2 #D23BC2
tetradic
#C2D23B #3BD297 #4B3BD2 #D23B76
square
#C2D23B #3BD297 #4B3BD2 #D23B76
split-complementary
#C2D23B #3B76D2 #973BD2
monochromatic
#6D771B #9BA927 #C2D23B #D1DD6D #E1E99F

Accessibility & contrast

On white

1.67
#C2D23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#C2D23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D23B
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D23B#FFFFFF#000000##000000
##C2D23B1.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C71E
Deuteranopia (green-blind)
#E0C947
Tritanopia (blue-blind)
#CEC6B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c2d23b;
/* rgb */ color: rgb(194, 210, 59);
/* oklch */ color: oklch(82.5% 0.168 115.5);
Tailwind
colors: {
  custom: {
    50: '#d8df7b',
    500: '#c2d23b',
    950: '#000000',
  },
}
SCSS
$custom: #c2d23b;
$custom-light: #d8df7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d23b",
  "rgb": {
    "r": 194,
    "g": 210,
    "b": 59
  },
  "hsl": {
    "h": 66.358,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.82519,
    "c": 0.16819,
    "h": 115.5
  },
  "luminance": 0.57878
}

Semantic roles & 50–950 ramp

primary
#C2D23B
secondary
#3A327F
accent
#42E653
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2D23B

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

Preview Lab → · Contrast checker → · Palette generator →

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