#C2C74F#C2C74F

#C2C74F is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.3% C 0.142 H 111.4°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#C2C74F
RGBrgb(194, 199, 79)
HSLhsl(63, 52%, 55%)
HSVhsv(63, 60%, 78%)
CMYKcmyk(2.5%, 0%, 60.3%, 22%)
CIE-LABlab(77.81, -17.30, 57.80)
CIE-LCHlch(77.81, 60.33, 106.66°)
OKLaboklab(80.27% -0.052 0.1323)
OKLCHoklch(80.27% 0.142 111.4)
XYZxyz(44.0840, 52.8817, 15.2806)
Luminance0.5288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C74F #544FC7
analogous
#C7904F #C2C74F #86C74F
triadic
#C2C74F #4FC2C7 #C74FC2
tetradic
#C2C74F #4FC790 #544FC7 #C74F86
square
#C2C74F #4FC790 #544FC7 #C74F86
split-complementary
#C2C74F #4F86C7 #904FC7
monochromatic
#737626 #A0A434 #C2C74F #D2D67D #E2E5AC

Accessibility & contrast

On white

1.81
#C2C74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#C2C74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C74F
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C74F#FFFFFF#000000##000000
##C2C74F1.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF41
Deuteranopia (green-blind)
#D6C256
Tritanopia (blue-blind)
#CEBCAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c2c74f;
/* rgb */ color: rgb(194, 199, 79);
/* oklch */ color: oklch(80.3% 0.142 111.4);
Tailwind
colors: {
  custom: {
    50: '#d7d785',
    500: '#c2c74f',
    950: '#000000',
  },
}
SCSS
$custom: #c2c74f;
$custom-light: #d7d785;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c74f",
  "rgb": {
    "r": 194,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 62.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80269,
    "c": 0.14217,
    "h": 111.4
  },
  "luminance": 0.52881
}

Semantic roles & 50–950 ramp

primary
#C2C74F
secondary
#3E3B7F
accent
#4DDB53
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C74F

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

Preview Lab → · Contrast checker → · Palette generator →

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