#C2C242#C2C242

#C2C242 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.1% C 0.147 H 109.3°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#C2C242
RGBrgb(194, 194, 66)
HSLhsl(60, 51%, 51%)
HSVhsv(60, 66%, 76%)
CMYKcmyk(0%, 0%, 66%, 23.9%)
CIE-LABlab(76.34, -15.61, 61.62)
CIE-LCHlch(76.34, 63.57, 104.22°)
OKLaboklab(79.07% -0.0486 0.1385)
OKLCHoklch(79.07% 0.147 109.3)
XYZxyz(42.5247, 50.4475, 12.6505)
Luminance0.5045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C242 #4242C2
analogous
#C28242 #C2C242 #82C242
triadic
#C2C242 #42C2C2 #C242C2
tetradic
#C2C242 #42C282 #4242C2 #C24282
square
#C2C242 #42C282 #4242C2 #C24282
split-complementary
#C2C242 #4282C2 #8242C2
monochromatic
#686822 #969631 #C2C242 #D1D170 #E0E09F

Accessibility & contrast

On white

1.89
#C2C242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#C2C242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C242
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C242#FFFFFF#000000##000000
##C2C2421.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA30
Deuteranopia (green-blind)
#D3BE4B
Tritanopia (blue-blind)
#CFB6A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c2c242;
/* rgb */ color: rgb(194, 194, 66);
/* oklch */ color: oklch(79.1% 0.147 109.3);
Tailwind
colors: {
  custom: {
    50: '#d8d47d',
    500: '#c2c242',
    950: '#000000',
  },
}
SCSS
$custom: #c2c242;
$custom-light: #d8d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c242",
  "rgb": {
    "r": 194,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 60,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79069,
    "c": 0.14677,
    "h": 109.3
  },
  "luminance": 0.50446
}

Semantic roles & 50–950 ramp

primary
#C2C242
secondary
#363672
accent
#4DDB4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C242

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

Preview Lab → · Contrast checker → · Palette generator →

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