#C2C74C#C2C74C

#C2C74C is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.2% C 0.145 H 111.5°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#C2C74C
RGBrgb(194, 199, 76)
HSLhsl(62, 52%, 54%)
HSVhsv(62, 62%, 78%)
CMYKcmyk(2.5%, 0%, 61.8%, 22%)
CIE-LABlab(77.78, -17.50, 59.05)
CIE-LCHlch(77.78, 61.59, 106.51°)
OKLaboklab(80.24% -0.0529 0.1346)
OKLCHoklch(80.24% 0.145 111.5)
XYZxyz(43.9773, 52.8390, 14.7184)
Luminance0.5284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C74C #514CC7
analogous
#C78F4C #C2C74C #85C74C
triadic
#C2C74C #4CC2C7 #C74CC2
tetradic
#C2C74C #4CC78F #514CC7 #C74C85
square
#C2C74C #4CC78F #514CC7 #C74C85
split-complementary
#C2C74C #4C85C7 #8F4CC7
monochromatic
#717424 #9EA333 #C2C74C #D2D67B #E2E4A9

Accessibility & contrast

On white

1.82
#C2C74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#C2C74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C74C
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C74C#FFFFFF#000000##000000
##C2C74C1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF3D
Deuteranopia (green-blind)
#D6C254
Tritanopia (blue-blind)
#CEBCAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c2c74c;
/* rgb */ color: rgb(194, 199, 76);
/* oklch */ color: oklch(80.2% 0.145 111.5);
Tailwind
colors: {
  custom: {
    50: '#d7d784',
    500: '#c2c74c',
    950: '#000000',
  },
}
SCSS
$custom: #c2c74c;
$custom-light: #d7d784;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c74c",
  "rgb": {
    "r": 194,
    "g": 199,
    "b": 76
  },
  "hsl": {
    "h": 62.439,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80241,
    "c": 0.14457,
    "h": 111.5
  },
  "luminance": 0.52838
}

Semantic roles & 50–950 ramp

primary
#C2C74C
secondary
#3D3A7D
accent
#4CDC52
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C74C

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

Preview Lab → · Contrast checker → · Palette generator →

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