#C2C84D#C2C84D

#C2C84D is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.5% C 0.145 H 111.9°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#C2C84D
RGBrgb(194, 200, 77)
HSLhsl(63, 53%, 54%)
HSVhsv(63, 62%, 78%)
CMYKcmyk(3%, 0%, 61.5%, 21.6%)
CIE-LABlab(78.06, -17.93, 58.93)
CIE-LCHlch(78.06, 61.59, 106.93°)
OKLaboklab(80.47% -0.054 0.1344)
OKLCHoklch(80.47% 0.145 111.9)
XYZxyz(44.2432, 53.3147, 14.9799)
Luminance0.5331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C84D #534DC8
analogous
#C8914D #C2C84D #85C84D
triadic
#C2C84D #4DC2C8 #C84DC2
tetradic
#C2C84D #4DC891 #534DC8 #C84D85
square
#C2C84D #4DC891 #534DC8 #C84D85
split-complementary
#C2C84D #4D85C8 #914DC8
monochromatic
#727624 #9FA533 #C2C84D #D2D67C #E2E5AB

Accessibility & contrast

On white

1.80
#C2C84D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#C2C84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C84D
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C84D#FFFFFF#000000##000000
##C2C84D1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3E
Deuteranopia (green-blind)
#D7C355
Tritanopia (blue-blind)
#CEBDAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c84d;
/* rgb */ color: rgb(194, 200, 77);
/* oklch */ color: oklch(80.5% 0.145 111.9);
Tailwind
colors: {
  custom: {
    50: '#d7d884',
    500: '#c2c84d',
    950: '#000000',
  },
}
SCSS
$custom: #c2c84d;
$custom-light: #d7d884;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c84d",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 77
  },
  "hsl": {
    "h": 62.927,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80468,
    "c": 0.14488,
    "h": 111.9
  },
  "luminance": 0.53314
}

Semantic roles & 50–950 ramp

primary
#C2C84D
secondary
#3E3A7F
accent
#4CDC53
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C84D

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

Preview Lab → · Contrast checker → · Palette generator →

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