#C2D339#C2D339

#C2D339 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 82.7% C 0.170 H 115.8°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#C2D339
RGBrgb(194, 211, 57)
HSLhsl(67, 64%, 53%)
HSVhsv(67, 73%, 83%)
CMYKcmyk(8.1%, 0%, 73%, 17.3%)
CIE-LABlab(80.94, -24.46, 69.42)
CIE-LCHlch(80.94, 73.61, 109.41°)
OKLaboklab(82.73% -0.0741 0.1535)
OKLCHoklch(82.73% 0.17 115.8)
XYZxyz(46.2821, 58.3540, 12.6954)
Luminance0.5835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D339 #4A39D3
analogous
#D39739 #C2D339 #75D339
triadic
#C2D339 #39C2D3 #D339C2
tetradic
#C2D339 #39D397 #4A39D3 #D33975
square
#C2D339 #39D397 #4A39D3 #D33975
split-complementary
#C2D339 #3975D3 #9739D3
monochromatic
#6D771A #9BA926 #C2D339 #D1DE6B #E1E99D

Accessibility & contrast

On white

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

On black

12.67
#C2D339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D339
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D339#FFFFFF#000000##000000
##C2D3391.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C819
Deuteranopia (green-blind)
#E1CA46
Tritanopia (blue-blind)
#CEC7B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c2d339;
/* rgb */ color: rgb(194, 211, 57);
/* oklch */ color: oklch(82.7% 0.170 115.8);
Tailwind
colors: {
  custom: {
    50: '#d8e07a',
    500: '#c2d339',
    950: '#000000',
  },
}
SCSS
$custom: #c2d339;
$custom-light: #d8e07a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d339",
  "rgb": {
    "r": 194,
    "g": 211,
    "b": 57
  },
  "hsl": {
    "h": 66.623,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.82727,
    "c": 0.17042,
    "h": 115.8
  },
  "luminance": 0.58353
}

Semantic roles & 50–950 ramp

primary
#C2D339
secondary
#3A317F
accent
#41E753
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2D339

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

Preview Lab → · Contrast checker → · Palette generator →

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