#C2DA2F#C2DA2F

#C2DA2F is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.2% C 0.183 H 117.8°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#C2DA2F
RGBrgb(194, 218, 47)
HSLhsl(68, 70%, 52%)
HSVhsv(68, 78%, 85%)
CMYKcmyk(11%, 0%, 78.4%, 14.5%)
CIE-LABlab(82.82, -28.22, 74.22)
CIE-LCHlch(82.82, 79.40, 110.82°)
OKLaboklab(84.22% -0.0853 0.1619)
OKLCHoklch(84.22% 0.183 117.8)
XYZxyz(47.8338, 61.8179, 12.1009)
Luminance0.6182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2DA2F #472FDA
analogous
#DA9D2F #C2DA2F #6DDA2F
triadic
#C2DA2F #2FC2DA #DA2FC2
tetradic
#C2DA2F #2FDA9D #472FDA #DA2F6D
square
#C2DA2F #2FDA9D #472FDA #DA2F6D
split-complementary
#C2DA2F #2F6DDA #9D2FDA
monochromatic
#6B7916 #99AD1F #C2DA2F #D1E363 #E0EC97

Accessibility & contrast

On white

1.57
#C2DA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#C2DA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2DA2F
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2DA2F#FFFFFF#000000##000000
##C2DA2F1.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CE00
Deuteranopia (green-blind)
#E6CF40
Tritanopia (blue-blind)
#CECEBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c2da2f;
/* rgb */ color: rgb(194, 218, 47);
/* oklch */ color: oklch(84.2% 0.183 117.8);
Tailwind
colors: {
  custom: {
    50: '#d9e577',
    500: '#c2da2f',
    950: '#000000',
  },
}
SCSS
$custom: #c2da2f;
$custom-light: #d9e577;
$custom-dark: #000000;
JSON
{
  "hex": "#c2da2f",
  "rgb": {
    "r": 194,
    "g": 218,
    "b": 47
  },
  "hsl": {
    "h": 68.421,
    "s": 69.796,
    "l": 51.961
  },
  "oklch": {
    "l": 0.84223,
    "c": 0.18302,
    "h": 117.8
  },
  "luminance": 0.61817
}

Semantic roles & 50–950 ramp

primary
#C2DA2F
secondary
#382C81
accent
#3BED54
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2DA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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