#C2C95D#C2C95D

#C2C95D is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.9% C 0.132 H 112.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#C2C95D
RGBrgb(194, 201, 93)
HSLhsl(64, 50%, 58%)
HSVhsv(64, 54%, 79%)
CMYKcmyk(3.5%, 0%, 53.7%, 21.2%)
CIE-LABlab(78.48, -17.23, 52.31)
CIE-LCHlch(78.48, 55.08, 108.23°)
OKLaboklab(80.85% -0.0503 0.1223)
OKLCHoklch(80.85% 0.132 112.4)
XYZxyz(45.1115, 54.0338, 18.4070)
Luminance0.5403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C95D #645DC9
analogous
#C99A5D #C2C95D #8CC95D
triadic
#C2C95D #5DC2C9 #C95DC2
tetradic
#C2C95D #5DC99A #645DC9 #C95D8C
square
#C2C95D #5DC99A #645DC9 #C95D8C
split-complementary
#C2C95D #5D8CC9 #9A5DC9
monochromatic
#7B812B #A7AF3A #C2C95D #D3D88B #E5E8B9

Accessibility & contrast

On white

1.78
#C2C95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#C2C95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C95D
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C95D#FFFFFF#000000##000000
##C2C95D1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c95d;
/* rgb */ color: rgb(194, 201, 93);
/* oklch */ color: oklch(80.9% 0.132 112.4);
Tailwind
colors: {
  custom: {
    50: '#d7d98e',
    500: '#c2c95d',
    950: '#000000',
  },
}
SCSS
$custom: #c2c95d;
$custom-light: #d7d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c95d",
  "rgb": {
    "r": 194,
    "g": 201,
    "b": 93
  },
  "hsl": {
    "h": 63.889,
    "s": 50,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80852,
    "c": 0.13223,
    "h": 112.4
  },
  "luminance": 0.54033
}

Semantic roles & 50–950 ramp

primary
#C2C95D
secondary
#464288
accent
#4EDA57
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2C95D

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

Preview Lab → · Contrast checker → · Palette generator →

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