#C2D338#C2D338

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

Color values

HEX#C2D338
RGBrgb(194, 211, 56)
HSLhsl(67, 64%, 52%)
HSVhsv(67, 73%, 83%)
CMYKcmyk(8.1%, 0%, 73.5%, 17.3%)
CIE-LABlab(80.93, -24.51, 69.75)
CIE-LCHlch(80.93, 73.93, 109.36°)
OKLaboklab(82.72% -0.0743 0.154)
OKLCHoklch(82.72% 0.171 115.8)
XYZxyz(46.2574, 58.3441, 12.5654)
Luminance0.5834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D338 #4938D3
analogous
#D39738 #C2D338 #74D338
triadic
#C2D338 #38C2D3 #D338C2
tetradic
#C2D338 #38D397 #4938D3 #D33874
square
#C2D338 #38D397 #4938D3 #D33874
split-complementary
#C2D338 #3874D3 #9738D3
monochromatic
#6C761A #9AA925 #C2D338 #D1DE6A #E1E99C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2D338#FFFFFF#000000##000000
##C2D3381.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)
#E2C816
Deuteranopia (green-blind)
#E1CA45
Tritanopia (blue-blind)
#CEC7B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c2d338;
/* rgb */ color: rgb(194, 211, 56);
/* oklch */ color: oklch(82.7% 0.171 115.8);
Tailwind
colors: {
  custom: {
    50: '#d8e07a',
    500: '#c2d338',
    950: '#000000',
  },
}
SCSS
$custom: #c2d338;
$custom-light: #d8e07a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d338",
  "rgb": {
    "r": 194,
    "g": 211,
    "b": 56
  },
  "hsl": {
    "h": 66.581,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.82721,
    "c": 0.17098,
    "h": 115.8
  },
  "luminance": 0.58343
}

Semantic roles & 50–950 ramp

primary
#C2D338
secondary
#39307F
accent
#41E753
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2D338

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

Preview Lab → · Contrast checker → · Palette generator →

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