#C2C85E#C2C85E

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

Color values

HEX#C2C85E
RGBrgb(194, 200, 94)
HSLhsl(63, 49%, 58%)
HSVhsv(63, 53%, 78%)
CMYKcmyk(3%, 0%, 53%, 21.6%)
CIE-LABlab(78.22, -16.64, 51.55)
CIE-LCHlch(78.22, 54.17, 107.89°)
OKLaboklab(80.65% -0.0486 0.1207)
OKLCHoklch(80.65% 0.13 111.9)
XYZxyz(44.9238, 53.5869, 18.5643)
Luminance0.5359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C85E #645EC8
analogous
#C8995E #C2C85E #8DC85E
triadic
#C2C85E #5EC2C8 #C85EC2
tetradic
#C2C85E #5EC899 #645EC8 #C85E8D
square
#C2C85E #5EC899 #645EC8 #C85E8D
split-complementary
#C2C85E #5E8DC8 #995EC8
monochromatic
#7B802C #A7AE3B #C2C85E #D3D88C #E5E7B9

Accessibility & contrast

On white

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

On black

11.72
#C2C85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C85E
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C85E#FFFFFF#000000##000000
##C2C85E1.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C054
Deuteranopia (green-blind)
#D6C364
Tritanopia (blue-blind)
#CDBDB0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c85e;
/* rgb */ color: rgb(194, 200, 94);
/* oklch */ color: oklch(80.6% 0.130 111.9);
Tailwind
colors: {
  custom: {
    50: '#d6d88f',
    500: '#c2c85e',
    950: '#000000',
  },
}
SCSS
$custom: #c2c85e;
$custom-light: #d6d88f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c85e",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 94
  },
  "hsl": {
    "h": 63.396,
    "s": 49.074,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80647,
    "c": 0.13013,
    "h": 111.9
  },
  "luminance": 0.53586
}

Semantic roles & 50–950 ramp

primary
#C2C85E
secondary
#464288
accent
#4FD957
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C2C85E

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

Preview Lab → · Contrast checker → · Palette generator →

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