#C2C562#C2C562

#C2C562 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.0% C 0.123 H 110.4°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#C2C562
RGBrgb(194, 197, 98)
HSLhsl(62, 46%, 58%)
HSVhsv(62, 50%, 77%)
CMYKcmyk(1.5%, 0%, 50.3%, 22.7%)
CIE-LABlab(77.45, -14.79, 48.77)
CIE-LCHlch(77.45, 50.96, 106.87°)
OKLaboklab(80.05% -0.0429 0.1151)
OKLCHoklch(80.05% 0.123 110.4)
XYZxyz(44.4199, 52.2846, 19.3049)
Luminance0.5228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C562 #6562C5
analogous
#C59662 #C2C562 #90C562
triadic
#C2C562 #62C2C5 #C562C2
tetradic
#C2C562 #62C596 #6562C5 #C56290
square
#C2C562 #62C596 #6562C5 #C56290
split-complementary
#C2C562 #6290C5 #9662C5
monochromatic
#7C7E2F #A7AB3F #C2C562 #D3D68F #E5E6BB

Accessibility & contrast

On white

1.83
#C2C562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#C2C562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C562
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C562#FFFFFF#000000##000000
##C2C5621.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE59
Deuteranopia (green-blind)
#D3C167
Tritanopia (blue-blind)
#CDBBAE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c2c562;
/* rgb */ color: rgb(194, 197, 98);
/* oklch */ color: oklch(80.0% 0.123 110.4);
Tailwind
colors: {
  custom: {
    50: '#d6d691',
    500: '#c2c562',
    950: '#000000',
  },
}
SCSS
$custom: #c2c562;
$custom-light: #d6d691;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c562",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 98
  },
  "hsl": {
    "h": 61.818,
    "s": 46.047,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80047,
    "c": 0.12282,
    "h": 110.4
  },
  "luminance": 0.52284
}

Semantic roles & 50–950 ramp

primary
#C2C562
secondary
#474586
accent
#52D656
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C2C562

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

Preview Lab → · Contrast checker → · Palette generator →

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