#C2C936#C2C936

#C2C936 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.5% C 0.162 H 112.3°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#C2C936
RGBrgb(194, 201, 54)
HSLhsl(63, 58%, 50%)
HSVhsv(63, 73%, 79%)
CMYKcmyk(3.5%, 0%, 73.1%, 21.2%)
CIE-LABlab(78.18, -19.72, 67.80)
CIE-LCHlch(78.18, 70.61, 106.22°)
OKLaboklab(80.51% -0.0612 0.1495)
OKLCHoklch(80.51% 0.162 112.3)
XYZxyz(43.8020, 53.5100, 11.5104)
Luminance0.5351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C936 #3D36C9
analogous
#C98636 #C2C936 #79C936
triadic
#C2C936 #36C2C9 #C936C2
tetradic
#C2C936 #36C986 #3D36C9 #C93679
square
#C2C936 #36C986 #3D36C9 #C93679
split-complementary
#C2C936 #3679C9 #8636C9
monochromatic
#65691C #939929 #C2C936 #D1D666 #DFE396

Accessibility & contrast

On white

1.79
#C2C936 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#C2C936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C936
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C936#FFFFFF#000000##000000
##C2C9361.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C017
Deuteranopia (green-blind)
#D9C342
Tritanopia (blue-blind)
#CFBDAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c936;
/* rgb */ color: rgb(194, 201, 54);
/* oklch */ color: oklch(80.5% 0.162 112.3);
Tailwind
colors: {
  custom: {
    50: '#d8d978',
    500: '#c2c936',
    950: '#000000',
  },
}
SCSS
$custom: #c2c936;
$custom-light: #d8d978;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c936",
  "rgb": {
    "r": 194,
    "g": 201,
    "b": 54
  },
  "hsl": {
    "h": 62.857,
    "s": 57.647,
    "l": 50
  },
  "oklch": {
    "l": 0.80509,
    "c": 0.16157,
    "h": 112.3
  },
  "luminance": 0.53509
}

Semantic roles & 50–950 ramp

primary
#C2C936
secondary
#343173
accent
#47E14E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C936

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

Preview Lab → · Contrast checker → · Palette generator →

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