#C2D45A#C2D45A

#C2D45A is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.2% C 0.148 H 116.8°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#C2D45A
RGBrgb(194, 212, 90)
HSLhsl(69, 59%, 59%)
HSVhsv(69, 58%, 83%)
CMYKcmyk(8.5%, 0%, 57.5%, 16.9%)
CIE-LABlab(81.45, -22.89, 57.04)
CIE-LCHlch(81.45, 61.46, 111.87°)
OKLaboklab(83.22% -0.0666 0.1321)
OKLCHoklch(83.22% 0.148 116.8)
XYZxyz(47.6379, 59.2950, 18.6064)
Luminance0.5929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D45A #6C5AD4
analogous
#D4A95A #C2D45A #85D45A
triadic
#C2D45A #5AC2D4 #D45AC2
tetradic
#C2D45A #5AD4A9 #6C5AD4 #D45A85
square
#C2D45A #5AD4A9 #6C5AD4 #D45A85
split-complementary
#C2D45A #5A85D4 #A95AD4
monochromatic
#7F8E25 #AABF32 #C2D45A #D4E18B #E6EDBB

Accessibility & contrast

On white

1.63
#C2D45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#C2D45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D45A
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D45A#FFFFFF#000000##000000
##C2D45A1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4D
Deuteranopia (green-blind)
#DFCB62
Tritanopia (blue-blind)
#CDC9BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c2d45a;
/* rgb */ color: rgb(194, 212, 90);
/* oklch */ color: oklch(83.2% 0.148 116.8);
Tailwind
colors: {
  custom: {
    50: '#d7e18d',
    500: '#c2d45a',
    950: '#000000',
  },
}
SCSS
$custom: #c2d45a;
$custom-light: #d7e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d45a",
  "rgb": {
    "r": 194,
    "g": 212,
    "b": 90
  },
  "hsl": {
    "h": 68.852,
    "s": 58.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83221,
    "c": 0.14792,
    "h": 116.8
  },
  "luminance": 0.59294
}

Semantic roles & 50–950 ramp

primary
#C2D45A
secondary
#4B3E94
accent
#46E25D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2D45A

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

Preview Lab → · Contrast checker → · Palette generator →

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