#C2D45B#C2D45B

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

Color values

HEX#C2D45B
RGBrgb(194, 212, 91)
HSLhsl(69, 58%, 59%)
HSVhsv(69, 57%, 83%)
CMYKcmyk(8.5%, 0%, 57.1%, 16.9%)
CIE-LABlab(81.46, -22.81, 56.61)
CIE-LCHlch(81.46, 61.03, 111.95°)
OKLaboklab(83.23% -0.0663 0.1313)
OKLCHoklch(83.23% 0.147 116.8)
XYZxyz(47.6808, 59.3122, 18.8321)
Luminance0.5931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D45B #6D5BD4
analogous
#D4AA5B #C2D45B #85D45B
triadic
#C2D45B #5BC2D4 #D45BC2
tetradic
#C2D45B #5BD4AA #6D5BD4 #D45B85
square
#C2D45B #5BD4AA #6D5BD4 #D45B85
split-complementary
#C2D45B #5B85D4 #AA5BD4
monochromatic
#7F8F26 #ABC032 #C2D45B #D4E18B #E6EDBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2D45B#FFFFFF#000000##000000
##C2D45B1.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)
#E1CA4E
Deuteranopia (green-blind)
#DFCB62
Tritanopia (blue-blind)
#CDC9BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c2d45b;
/* rgb */ color: rgb(194, 212, 91);
/* oklch */ color: oklch(83.2% 0.147 116.8);
Tailwind
colors: {
  custom: {
    50: '#d7e18e',
    500: '#c2d45b',
    950: '#000000',
  },
}
SCSS
$custom: #c2d45b;
$custom-light: #d7e18e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d45b",
  "rgb": {
    "r": 194,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 68.926,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83231,
    "c": 0.14706,
    "h": 116.8
  },
  "luminance": 0.59312
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2D45B

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

Preview Lab → · Contrast checker → · Palette generator →

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