#C2CD47#C2CD47

#C2CD47 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.5% C 0.155 H 113.8°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#C2CD47
RGBrgb(194, 205, 71)
HSLhsl(65, 57%, 54%)
HSVhsv(65, 65%, 80%)
CMYKcmyk(5.4%, 0%, 65.4%, 19.6%)
CIE-LABlab(79.38, -20.79, 62.77)
CIE-LCHlch(79.38, 66.12, 108.33°)
OKLaboklab(81.51% -0.0626 0.1417)
OKLCHoklch(81.51% 0.155 113.8)
XYZxyz(45.2180, 55.5878, 14.3075)
Luminance0.5559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD47 #5247CD
analogous
#CD9547 #C2CD47 #7FCD47
triadic
#C2CD47 #47C2CD #CD47C2
tetradic
#C2CD47 #47CD95 #5247CD #CD477F
square
#C2CD47 #47CD95 #5247CD #CD477F
split-complementary
#C2CD47 #477FCD #9547CD
monochromatic
#727921 #9FA92E #C2CD47 #D2DA77 #E2E7A7

Accessibility & contrast

On white

1.73
#C2CD47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#C2CD47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD47
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD47#FFFFFF#000000##000000
##C2CD471.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC334
Deuteranopia (green-blind)
#DBC650
Tritanopia (blue-blind)
#CEC1B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2cd47;
/* rgb */ color: rgb(194, 205, 71);
/* oklch */ color: oklch(81.5% 0.155 113.8);
Tailwind
colors: {
  custom: {
    50: '#d7dc81',
    500: '#c2cd47',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd47;
$custom-light: #d7dc81;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd47",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 71
  },
  "hsl": {
    "h": 64.925,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81507,
    "c": 0.1549,
    "h": 113.8
  },
  "luminance": 0.55587
}

Semantic roles & 50–950 ramp

primary
#C2CD47
secondary
#3D3781
accent
#47E154
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2CD47

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

Preview Lab → · Contrast checker → · Palette generator →

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