#C2C74A#C2C74A

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

Color values

HEX#C2C74A
RGBrgb(194, 199, 74)
HSLhsl(62, 53%, 54%)
HSVhsv(62, 63%, 78%)
CMYKcmyk(2.5%, 0%, 62.8%, 22%)
CIE-LABlab(77.76, -17.63, 59.86)
CIE-LCHlch(77.76, 62.41, 106.41°)
OKLaboklab(80.22% -0.0534 0.136)
OKLCHoklch(80.22% 0.146 111.5)
XYZxyz(43.9088, 52.8116, 14.3579)
Luminance0.5281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C74A #4F4AC7
analogous
#C78D4A #C2C74A #83C74A
triadic
#C2C74A #4AC2C7 #C74AC2
tetradic
#C2C74A #4AC78D #4F4AC7 #C74A83
square
#C2C74A #4AC78D #4F4AC7 #C74A83
split-complementary
#C2C74A #4A83C7 #8D4AC7
monochromatic
#707324 #9DA232 #C2C74A #D2D579 #E2E4A7

Accessibility & contrast

On white

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

On black

11.56
#C2C74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C74A
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C74A#FFFFFF#000000##000000
##C2C74A1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE3A
Deuteranopia (green-blind)
#D6C252
Tritanopia (blue-blind)
#CFBBAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c2c74a;
/* rgb */ color: rgb(194, 199, 74);
/* oklch */ color: oklch(80.2% 0.146 111.5);
Tailwind
colors: {
  custom: {
    50: '#d7d782',
    500: '#c2c74a',
    950: '#000000',
  },
}
SCSS
$custom: #c2c74a;
$custom-light: #d7d782;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c74a",
  "rgb": {
    "r": 194,
    "g": 199,
    "b": 74
  },
  "hsl": {
    "h": 62.4,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80223,
    "c": 0.14612,
    "h": 111.5
  },
  "luminance": 0.52811
}

Semantic roles & 50–950 ramp

primary
#C2C74A
secondary
#3C397C
accent
#4CDC51
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C74A

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

Preview Lab → · Contrast checker → · Palette generator →

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