#C2C862#C2C862

#C2C862 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.7% C 0.126 H 111.9°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#C2C862
RGBrgb(194, 200, 98)
HSLhsl(64, 48%, 58%)
HSVhsv(64, 51%, 78%)
CMYKcmyk(3%, 0%, 51%, 21.6%)
CIE-LABlab(78.26, -16.30, 49.72)
CIE-LCHlch(78.26, 52.33, 108.15°)
OKLaboklab(80.69% -0.0472 0.1172)
OKLCHoklch(80.69% 0.126 111.9)
XYZxyz(45.1079, 53.6606, 19.5342)
Luminance0.5366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C862 #6862C8
analogous
#C89B62 #C2C862 #8FC862
triadic
#C2C862 #62C2C8 #C862C2
tetradic
#C2C862 #62C89B #6862C8 #C8628F
square
#C2C862 #62C89B #6862C8 #C8628F
split-complementary
#C2C862 #628FC8 #9B62C8
monochromatic
#7D822E #A9AF3D #C2C862 #D4D88F #E5E8BD

Accessibility & contrast

On white

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

On black

11.73
#C2C862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C862
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C862#FFFFFF#000000##000000
##C2C8621.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C058
Deuteranopia (green-blind)
#D5C367
Tritanopia (blue-blind)
#CDBEB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c2c862;
/* rgb */ color: rgb(194, 200, 98);
/* oklch */ color: oklch(80.7% 0.126 111.9);
Tailwind
colors: {
  custom: {
    50: '#d6d891',
    500: '#c2c862',
    950: '#000000',
  },
}
SCSS
$custom: #c2c862;
$custom-light: #d6d891;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c862",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 98
  },
  "hsl": {
    "h": 63.529,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80695,
    "c": 0.12631,
    "h": 111.9
  },
  "luminance": 0.5366
}

Semantic roles & 50–950 ramp

primary
#C2C862
secondary
#48448A
accent
#50D858
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C2C862

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

Preview Lab → · Contrast checker → · Palette generator →

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