#C2D239#C2D239

#C2D239 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.5% C 0.169 H 115.5°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#C2D239
RGBrgb(194, 210, 57)
HSLhsl(66, 63%, 52%)
HSVhsv(66, 73%, 82%)
CMYKcmyk(7.6%, 0%, 72.9%, 17.6%)
CIE-LABlab(80.66, -23.98, 69.16)
CIE-LCHlch(80.66, 73.20, 109.12°)
OKLaboklab(82.51% -0.0728 0.1529)
OKLCHoklch(82.51% 0.169 115.5)
XYZxyz(46.0345, 57.8587, 12.6129)
Luminance0.5786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D239 #4939D2
analogous
#D29639 #C2D239 #75D239
triadic
#C2D239 #39C2D2 #D239C2
tetradic
#C2D239 #39D296 #4939D2 #D23975
square
#C2D239 #39D296 #4939D2 #D23975
split-complementary
#C2D239 #3975D2 #9639D2
monochromatic
#6C761B #9AA826 #C2D239 #D1DD6B #E1E99D

Accessibility & contrast

On white

1.67
#C2D239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#C2D239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D239
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D239#FFFFFF#000000##000000
##C2D2391.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C719
Deuteranopia (green-blind)
#E0C946
Tritanopia (blue-blind)
#CEC6B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c2d239;
/* rgb */ color: rgb(194, 210, 57);
/* oklch */ color: oklch(82.5% 0.169 115.5);
Tailwind
colors: {
  custom: {
    50: '#d8df7a',
    500: '#c2d239',
    950: '#000000',
  },
}
SCSS
$custom: #c2d239;
$custom-light: #d8df7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d239",
  "rgb": {
    "r": 194,
    "g": 210,
    "b": 57
  },
  "hsl": {
    "h": 66.275,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.82506,
    "c": 0.16935,
    "h": 115.5
  },
  "luminance": 0.57858
}

Semantic roles & 50–950 ramp

primary
#C2D239
secondary
#39317E
accent
#42E653
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2D239

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

Preview Lab → · Contrast checker → · Palette generator →

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