#C2C836#C2C836

#C2C836 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.3% C 0.161 H 111.9°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#C2C836
RGBrgb(194, 200, 54)
HSLhsl(62, 57%, 50%)
HSVhsv(62, 73%, 78%)
CMYKcmyk(3%, 0%, 73%, 21.6%)
CIE-LABlab(77.90, -19.22, 67.55)
CIE-LCHlch(77.90, 70.23, 105.89°)
OKLaboklab(80.29% -0.0598 0.149)
OKLCHoklch(80.29% 0.161 111.9)
XYZxyz(43.5697, 53.0453, 11.4329)
Luminance0.5304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C836 #3C36C8
analogous
#C88536 #C2C836 #79C836
triadic
#C2C836 #36C2C8 #C836C2
tetradic
#C2C836 #36C885 #3C36C8 #C83679
square
#C2C836 #36C885 #3C36C8 #C83679
split-complementary
#C2C836 #3679C8 #8536C8
monochromatic
#65681C #939829 #C2C836 #D1D666 #DFE396

Accessibility & contrast

On white

1.81
#C2C836 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#C2C836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C836
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C836#FFFFFF#000000##000000
##C2C8361.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF18
Deuteranopia (green-blind)
#D8C242
Tritanopia (blue-blind)
#CFBCAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c836;
/* rgb */ color: rgb(194, 200, 54);
/* oklch */ color: oklch(80.3% 0.161 111.9);
Tailwind
colors: {
  custom: {
    50: '#d8d878',
    500: '#c2c836',
    950: '#000000',
  },
}
SCSS
$custom: #c2c836;
$custom-light: #d8d878;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c836",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 54
  },
  "hsl": {
    "h": 62.466,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.8029,
    "c": 0.16054,
    "h": 111.9
  },
  "luminance": 0.53044
}

Semantic roles & 50–950 ramp

primary
#C2C836
secondary
#333072
accent
#47E14D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C836

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

Preview Lab → · Contrast checker → · Palette generator →

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