#C2C142#C2C142

#C2C142 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.9% C 0.146 H 108.9°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#C2C142
RGBrgb(194, 193, 66)
HSLhsl(60, 51%, 51%)
HSVhsv(60, 66%, 76%)
CMYKcmyk(0%, 0.5%, 66%, 23.9%)
CIE-LABlab(76.07, -15.11, 61.34)
CIE-LCHlch(76.07, 63.18, 103.84°)
OKLaboklab(78.85% -0.0472 0.1379)
OKLCHoklch(78.85% 0.146 108.9)
XYZxyz(42.3029, 50.0039, 12.5765)
Luminance0.5000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C142 #4243C2
analogous
#C28142 #C2C142 #83C242
triadic
#C2C142 #42C2C1 #C142C2
tetradic
#C2C142 #42C281 #4243C2 #C24283
square
#C2C142 #42C281 #4243C2 #C24283
split-complementary
#C2C142 #4283C2 #8142C2
monochromatic
#686722 #969531 #C2C142 #D1D070 #E0DF9F

Accessibility & contrast

On white

1.91
#C2C142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#C2C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C142
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C142#FFFFFF#000000##000000
##C2C1421.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B930
Deuteranopia (green-blind)
#D2BE4A
Tritanopia (blue-blind)
#CFB5A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c2c142;
/* rgb */ color: rgb(194, 193, 66);
/* oklch */ color: oklch(78.9% 0.146 108.9);
Tailwind
colors: {
  custom: {
    50: '#d8d37d',
    500: '#c2c142',
    950: '#000000',
  },
}
SCSS
$custom: #c2c142;
$custom-light: #d8d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c142",
  "rgb": {
    "r": 194,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 59.531,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78852,
    "c": 0.14575,
    "h": 108.9
  },
  "luminance": 0.50003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2C142

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

Preview Lab → · Contrast checker → · Palette generator →

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