#C2D938#C2D938

#C2D938 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.0% C 0.177 H 117.6°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#C2D938
RGBrgb(194, 217, 56)
HSLhsl(69, 68%, 54%)
HSVhsv(69, 74%, 85%)
CMYKcmyk(10.6%, 0%, 74.2%, 14.9%)
CIE-LABlab(82.58, -27.38, 71.31)
CIE-LCHlch(82.58, 76.38, 111.00°)
OKLaboklab(84.05% -0.0823 0.1573)
OKLCHoklch(84.05% 0.177 117.6)
XYZxyz(47.7759, 61.3811, 13.0715)
Luminance0.6138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D938 #4F38D9
analogous
#D99F38 #C2D938 #72D938
triadic
#C2D938 #38C2D9 #D938C2
tetradic
#C2D938 #38D99F #4F38D9 #D93872
square
#C2D938 #38D99F #4F38D9 #D93872
split-complementary
#C2D938 #3872D9 #9F38D9
monochromatic
#707E18 #9DB222 #C2D938 #D2E36B #E2ED9F

Accessibility & contrast

On white

1.58
#C2D938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#C2D938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D938
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D938#FFFFFF#000000##000000
##C2D9381.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CD12
Deuteranopia (green-blind)
#E5CE46
Tritanopia (blue-blind)
#CECDBB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c2d938;
/* rgb */ color: rgb(194, 217, 56);
/* oklch */ color: oklch(84.0% 0.177 117.6);
Tailwind
colors: {
  custom: {
    50: '#d8e47b',
    500: '#c2d938',
    950: '#000000',
  },
}
SCSS
$custom: #c2d938;
$custom-light: #d8e47b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d938",
  "rgb": {
    "r": 194,
    "g": 217,
    "b": 56
  },
  "hsl": {
    "h": 68.571,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.84049,
    "c": 0.17749,
    "h": 117.6
  },
  "luminance": 0.61381
}

Semantic roles & 50–950 ramp

primary
#C2D938
secondary
#3C3086
accent
#3DEB56
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2D938

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

Preview Lab → · Contrast checker → · Palette generator →

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