#C2C859#C2C859

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

Color values

HEX#C2C859
RGBrgb(194, 200, 89)
HSLhsl(63, 50%, 57%)
HSVhsv(63, 56%, 78%)
CMYKcmyk(3%, 0%, 55.5%, 21.6%)
CIE-LABlab(78.17, -17.05, 53.79)
CIE-LCHlch(78.17, 56.42, 107.59°)
OKLaboklab(80.59% -0.0502 0.125)
OKLCHoklch(80.59% 0.135 111.9)
XYZxyz(44.7066, 53.5001, 17.4207)
Luminance0.5350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C859 #5F59C8
analogous
#C89759 #C2C859 #8BC859
triadic
#C2C859 #59C2C8 #C859C2
tetradic
#C2C859 #59C897 #5F59C8 #C8598B
square
#C2C859 #59C897 #5F59C8 #C8598B
split-complementary
#C2C859 #598BC8 #9759C8
monochromatic
#797D29 #A5AB39 #C2C859 #D3D787 #E4E6B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C859#FFFFFF#000000##000000
##C2C8591.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)
#D6C04E
Deuteranopia (green-blind)
#D6C35F
Tritanopia (blue-blind)
#CEBDB0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c859;
/* rgb */ color: rgb(194, 200, 89);
/* oklch */ color: oklch(80.6% 0.135 111.9);
Tailwind
colors: {
  custom: {
    50: '#d7d88c',
    500: '#c2c859',
    950: '#000000',
  },
}
SCSS
$custom: #c2c859;
$custom-light: #d7d88c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c859",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 89
  },
  "hsl": {
    "h": 63.243,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8059,
    "c": 0.13473,
    "h": 111.9
  },
  "luminance": 0.53499
}

Semantic roles & 50–950 ramp

primary
#C2C859
secondary
#444085
accent
#4EDA56
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2C859

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

Preview Lab → · Contrast checker → · Palette generator →

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