#C2D42F#C2D42F

#C2D42F is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 82.9% C 0.177 H 116.0°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#C2D42F
RGBrgb(194, 212, 47)
HSLhsl(67, 66%, 51%)
HSVhsv(67, 78%, 83%)
CMYKcmyk(8.5%, 0%, 77.8%, 16.9%)
CIE-LABlab(81.16, -25.36, 72.73)
CIE-LCHlch(81.16, 77.03, 109.23°)
OKLaboklab(82.89% -0.0774 0.1588)
OKLCHoklch(82.89% 0.177 116)
XYZxyz(46.3060, 58.7623, 11.5917)
Luminance0.5876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D42F #412FD4
analogous
#D4932F #C2D42F #70D42F
triadic
#C2D42F #2FC2D4 #D42FC2
tetradic
#C2D42F #2FD493 #412FD4 #D42F70
square
#C2D42F #2FD493 #412FD4 #D42F70
split-complementary
#C2D42F #2F70D4 #932FD4
monochromatic
#677117 #96A422 #C2D42F #D1DE62 #E0E994

Accessibility & contrast

On white

1.65
#C2D42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#C2D42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D42F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D42F#FFFFFF#000000##000000
##C2D42F1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C900
Deuteranopia (green-blind)
#E2CB3F
Tritanopia (blue-blind)
#CFC8B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c2d42f;
/* rgb */ color: rgb(194, 212, 47);
/* oklch */ color: oklch(82.9% 0.177 116.0);
Tailwind
colors: {
  custom: {
    50: '#d8e176',
    500: '#c2d42f',
    950: '#000000',
  },
}
SCSS
$custom: #c2d42f;
$custom-light: #d8e176;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d42f",
  "rgb": {
    "r": 194,
    "g": 212,
    "b": 47
  },
  "hsl": {
    "h": 66.545,
    "s": 65.737,
    "l": 50.784
  },
  "oklch": {
    "l": 0.82892,
    "c": 0.17664,
    "h": 116
  },
  "luminance": 0.58762
}

Semantic roles & 50–950 ramp

primary
#C2D42F
secondary
#362D7A
accent
#3FE952
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C2D42F

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

Preview Lab → · Contrast checker → · Palette generator →

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