#C2C162#C2C162

#C2C162 is a light, moderate yellow. Relative luminance 0.505; OKLCH L 79.2% C 0.118 H 108.3°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#C2C162
RGBrgb(194, 193, 98)
HSLhsl(59, 44%, 57%)
HSVhsv(59, 49%, 76%)
CMYKcmyk(0%, 0.5%, 49.5%, 23.9%)
CIE-LABlab(76.37, -12.76, 47.49)
CIE-LCHlch(76.37, 49.17, 105.04°)
OKLaboklab(79.19% -0.0371 0.1123)
OKLCHoklch(79.19% 0.118 108.3)
XYZxyz(43.5237, 50.4922, 19.0061)
Luminance0.5049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C162 #6263C2
analogous
#C29162 #C2C162 #93C262
triadic
#C2C162 #62C2C1 #C162C2
tetradic
#C2C162 #62C291 #6263C2 #C26293
square
#C2C162 #62C291 #6263C2 #C26293
split-complementary
#C2C162 #6293C2 #9162C2
monochromatic
#7A792F #A6A541 #C2C162 #D3D28E #E4E4BA

Accessibility & contrast

On white

1.89
#C2C162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#C2C162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C162
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C162#FFFFFF#000000##000000
##C2C1621.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA59
Deuteranopia (green-blind)
#D0BE67
Tritanopia (blue-blind)
#CEB7AB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c2c162;
/* rgb */ color: rgb(194, 193, 98);
/* oklch */ color: oklch(79.2% 0.118 108.3);
Tailwind
colors: {
  custom: {
    50: '#d6d391',
    500: '#c2c162',
    950: '#000000',
  },
}
SCSS
$custom: #c2c162;
$custom-light: #d6d391;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c162",
  "rgb": {
    "r": 194,
    "g": 193,
    "b": 98
  },
  "hsl": {
    "h": 59.375,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79186,
    "c": 0.11827,
    "h": 108.3
  },
  "luminance": 0.50491
}

Semantic roles & 50–950 ramp

primary
#C2C162
secondary
#454683
accent
#55D454
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C2C162

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

Preview Lab → · Contrast checker → · Palette generator →

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