#C2C774#C2C774

#C2C774 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 80.7% C 0.106 H 111.5°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#C2C774
RGBrgb(194, 199, 116)
HSLhsl(64, 43%, 62%)
HSVhsv(64, 42%, 78%)
CMYKcmyk(2.5%, 0%, 41.7%, 22%)
CIE-LABlab(78.22, -14.04, 40.88)
CIE-LCHlch(78.22, 43.22, 108.95°)
OKLaboklab(80.73% -0.0391 0.099)
OKLCHoklch(80.73% 0.106 111.5)
XYZxyz(45.8245, 53.5779, 24.4472)
Luminance0.5358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C774 #7974C7
analogous
#C7A374 #C2C774 #99C774
triadic
#C2C774 #74C2C7 #C774C2
tetradic
#C2C774 #74C7A3 #7974C7 #C77499
square
#C2C774 #74C7A3 #7974C7 #C77499
split-complementary
#C2C774 #7499C7 #A374C7
monochromatic
#848937 #AEB549 #C2C774 #D5D9A0 #E8EACB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C774#FFFFFF#000000##000000
##C2C7741.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)
#D2C06D
Deuteranopia (green-blind)
#D3C378
Tritanopia (blue-blind)
#CCBEB3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c774;
/* rgb */ color: rgb(194, 199, 116);
/* oklch */ color: oklch(80.7% 0.106 111.5);
Tailwind
colors: {
  custom: {
    50: '#d6d79d',
    500: '#c2c774',
    950: '#000000',
  },
}
SCSS
$custom: #c2c774;
$custom-light: #d6d79d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c774",
  "rgb": {
    "r": 194,
    "g": 199,
    "b": 116
  },
  "hsl": {
    "h": 63.614,
    "s": 42.564,
    "l": 61.765
  },
  "oklch": {
    "l": 0.80729,
    "c": 0.1064,
    "h": 111.5
  },
  "luminance": 0.53577
}

Semantic roles & 50–950 ramp

primary
#C2C774
secondary
#524E91
accent
#30B638
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140E
muted
#83837F

Preview Lab

Preview with #C2C774

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

Preview Lab → · Contrast checker → · Palette generator →

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