#C2CD38#C2CD38

#C2CD38 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.4% C 0.165 H 113.7°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#C2CD38
RGBrgb(194, 205, 56)
HSLhsl(64, 60%, 51%)
HSVhsv(64, 73%, 80%)
CMYKcmyk(5.4%, 0%, 72.7%, 19.6%)
CIE-LABlab(79.28, -21.59, 68.18)
CIE-LCHlch(79.28, 71.52, 107.57°)
OKLaboklab(81.4% -0.0663 0.1507)
OKLCHoklch(81.4% 0.165 113.7)
XYZxyz(44.7946, 55.4184, 12.0777)
Luminance0.5542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD38 #4338CD
analogous
#CD8E38 #C2CD38 #77CD38
triadic
#C2CD38 #38C2CD #CD38C2
tetradic
#C2CD38 #38CD8E #4338CD #CD3877
square
#C2CD38 #38CD8E #4338CD #CD3877
split-complementary
#C2CD38 #3877CD #8E38CD
monochromatic
#696F1C #97A028 #C2CD38 #D1D969 #E0E69A

Accessibility & contrast

On white

1.74
#C2CD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#C2CD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD38
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD38#FFFFFF#000000##000000
##C2CD381.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31A
Deuteranopia (green-blind)
#DCC644
Tritanopia (blue-blind)
#CFC1B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cd38;
/* rgb */ color: rgb(194, 205, 56);
/* oklch */ color: oklch(81.4% 0.165 113.7);
Tailwind
colors: {
  custom: {
    50: '#d8dc79',
    500: '#c2cd38',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd38;
$custom-light: #d8dc79;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd38",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 64.43,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81399,
    "c": 0.16459,
    "h": 113.7
  },
  "luminance": 0.55418
}

Semantic roles & 50–950 ramp

primary
#C2CD38
secondary
#363178
accent
#45E350
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2CD38

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

Preview Lab → · Contrast checker → · Palette generator →

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