#C2D02F#C2D02F

#C2D02F is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.0% C 0.172 H 114.7°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#C2D02F
RGBrgb(194, 208, 47)
HSLhsl(65, 63%, 50%)
HSVhsv(65, 77%, 82%)
CMYKcmyk(6.7%, 0%, 77.4%, 18.4%)
CIE-LABlab(80.06, -23.44, 71.74)
CIE-LCHlch(80.06, 75.47, 108.09°)
OKLaboklab(82.01% -0.0721 0.1566)
OKLCHoklch(82.01% 0.172 114.7)
XYZxyz(45.3185, 56.7872, 11.2625)
Luminance0.5679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D02F #3D2FD0
analogous
#D08D2F #C2D02F #72D02F
triadic
#C2D02F #2FC2D0 #D02FC2
tetradic
#C2D02F #2FD08D #3D2FD0 #D02F72
square
#C2D02F #2FD08D #3D2FD0 #D02F72
split-complementary
#C2D02F #2F72D0 #8D2FD0
monochromatic
#656C18 #939E24 #C2D02F #D1DB61 #DFE793

Accessibility & contrast

On white

1.70
#C2D02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#C2D02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D02F
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D02F#FFFFFF#000000##000000
##C2D02F1.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC500
Deuteranopia (green-blind)
#DFC83E
Tritanopia (blue-blind)
#CFC4B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2d02f;
/* rgb */ color: rgb(194, 208, 47);
/* oklch */ color: oklch(82.0% 0.172 114.7);
Tailwind
colors: {
  custom: {
    50: '#d8de75',
    500: '#c2d02f',
    950: '#000000',
  },
}
SCSS
$custom: #c2d02f;
$custom-light: #d8de75;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d02f",
  "rgb": {
    "r": 194,
    "g": 208,
    "b": 47
  },
  "hsl": {
    "h": 65.217,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.82008,
    "c": 0.17244,
    "h": 114.7
  },
  "luminance": 0.56786
}

Semantic roles & 50–950 ramp

primary
#C2D02F
secondary
#342E76
accent
#42E650
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C2D02F

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

Preview Lab → · Contrast checker → · Palette generator →

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