#C2C742#C2C742

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

Color values

HEX#C2C742
RGBrgb(194, 199, 66)
HSLhsl(62, 54%, 52%)
HSVhsv(62, 67%, 78%)
CMYKcmyk(2.5%, 0%, 66.8%, 22%)
CIE-LABlab(77.70, -18.12, 63.01)
CIE-LCHlch(77.70, 65.56, 106.04°)
OKLaboklab(80.16% -0.0556 0.1414)
OKLCHoklch(80.16% 0.152 111.5)
XYZxyz(43.6563, 52.7106, 13.0277)
Luminance0.5271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C742 #4742C7
analogous
#C78A42 #C2C742 #7FC742
triadic
#C2C742 #42C2C7 #C742C2
tetradic
#C2C742 #42C78A #4742C7 #C7427F
square
#C2C742 #42C78A #4742C7 #C7427F
split-complementary
#C2C742 #427FC7 #8A42C7
monochromatic
#6B6E21 #999D2F #C2C742 #D1D571 #E0E3A0

Accessibility & contrast

On white

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

On black

11.54
#C2C742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C742
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C742#FFFFFF#000000##000000
##C2C7421.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2E
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#CFBBAC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c2c742;
/* rgb */ color: rgb(194, 199, 66);
/* oklch */ color: oklch(80.2% 0.152 111.5);
Tailwind
colors: {
  custom: {
    50: '#d8d77e',
    500: '#c2c742',
    950: '#000000',
  },
}
SCSS
$custom: #c2c742;
$custom-light: #d8d77e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c742",
  "rgb": {
    "r": 194,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 62.256,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80156,
    "c": 0.15196,
    "h": 111.5
  },
  "luminance": 0.5271
}

Semantic roles & 50–950 ramp

primary
#C2C742
secondary
#383678
accent
#4ADE50
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C742

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

Preview Lab → · Contrast checker → · Palette generator →

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