#C2D254#C2D254

#C2D254 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.7% C 0.151 H 115.9°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#C2D254
RGBrgb(194, 210, 84)
HSLhsl(68, 58%, 58%)
HSVhsv(68, 60%, 82%)
CMYKcmyk(7.6%, 0%, 60%, 17.6%)
CIE-LABlab(80.85, -22.37, 58.98)
CIE-LCHlch(80.85, 63.08, 110.77°)
OKLaboklab(82.72% -0.0657 0.1355)
OKLCHoklch(82.72% 0.151 115.9)
XYZxyz(46.8959, 58.2032, 17.1497)
Luminance0.5820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D254 #6454D2
analogous
#D2A354 #C2D254 #83D254
triadic
#C2D254 #54C2D2 #D254C2
tetradic
#C2D254 #54D2A3 #6454D2 #D25483
square
#C2D254 #54D2A3 #6454D2 #D25483
split-complementary
#C2D254 #5483D2 #A354D2
monochromatic
#7B8824 #A7B831 #C2D254 #D3DF84 #E5EBB5

Accessibility & contrast

On white

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

On black

12.64
#C2D254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D254
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D254#FFFFFF#000000##000000
##C2D2541.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C845
Deuteranopia (green-blind)
#DECA5C
Tritanopia (blue-blind)
#CDC7B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c2d254;
/* rgb */ color: rgb(194, 210, 84);
/* oklch */ color: oklch(82.7% 0.151 115.9);
Tailwind
colors: {
  custom: {
    50: '#d7df89',
    500: '#c2d254',
    950: '#000000',
  },
}
SCSS
$custom: #c2d254;
$custom-light: #d7df89;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d254",
  "rgb": {
    "r": 194,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 67.619,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82721,
    "c": 0.15059,
    "h": 115.9
  },
  "luminance": 0.58203
}

Semantic roles & 50–950 ramp

primary
#C2D254
secondary
#463C8E
accent
#46E25A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2D254

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

Preview Lab → · Contrast checker → · Palette generator →

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