#C2C426#C2C426

#C2C426 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.3% C 0.164 H 110.4°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#C2C426
RGBrgb(194, 196, 38)
HSLhsl(61, 68%, 46%)
HSVhsv(61, 81%, 77%)
CMYKcmyk(1%, 0%, 80.6%, 23.1%)
CIE-LABlab(76.73, -17.85, 71.29)
CIE-LCHlch(76.73, 73.49, 104.06°)
OKLaboklab(79.33% -0.0573 0.1541)
OKLCHoklch(79.33% 0.164 110.4)
XYZxyz(42.3395, 51.0904, 9.4645)
Luminance0.5109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C426 #2826C4
analogous
#C47726 #C2C426 #73C426
triadic
#C2C426 #26C2C4 #C426C2
tetradic
#C2C426 #26C477 #2826C4 #C42673
square
#C2C426 #26C477 #2826C4 #C42673
split-complementary
#C2C426 #2673C4 #7726C4
monochromatic
#5D5D12 #8F911C #C2C426 #DADC4B #E5E67E

Accessibility & contrast

On white

1.87
#C2C426 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#C2C426 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C426
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C426#FFFFFF#000000##000000
##C2C4261.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D5BF35
Tritanopia (blue-blind)
#D0B7A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c2c426;
/* rgb */ color: rgb(194, 196, 38);
/* oklch */ color: oklch(79.3% 0.164 110.4);
Tailwind
colors: {
  custom: {
    50: '#d9d570',
    500: '#c2c426',
    950: '#000000',
  },
}
SCSS
$custom: #c2c426;
$custom-light: #d9d570;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c426",
  "rgb": {
    "r": 194,
    "g": 196,
    "b": 38
  },
  "hsl": {
    "h": 60.759,
    "s": 67.521,
    "l": 45.882
  },
  "oklch": {
    "l": 0.79332,
    "c": 0.16443,
    "h": 110.4
  },
  "luminance": 0.51089
}

Semantic roles & 50–950 ramp

primary
#C2C426
secondary
#262569
accent
#3DEA40
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C2C426

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

Preview Lab → · Contrast checker → · Palette generator →

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