#C2C538#C2C538

#C2C538 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.6% C 0.156 H 110.7°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#C2C538
RGBrgb(194, 197, 56)
HSLhsl(61, 56%, 50%)
HSVhsv(61, 72%, 77%)
CMYKcmyk(1.5%, 0%, 71.6%, 22.7%)
CIE-LABlab(77.09, -17.64, 66.09)
CIE-LCHlch(77.09, 68.40, 104.94°)
OKLaboklab(79.65% -0.0553 0.1462)
OKLCHoklch(79.65% 0.156 110.7)
XYZxyz(42.9297, 51.6885, 11.4561)
Luminance0.5169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C538 #3B38C5
analogous
#C58238 #C2C538 #7BC538
triadic
#C2C538 #38C2C5 #C538C2
tetradic
#C2C538 #38C582 #3B38C5 #C5387B
square
#C2C538 #38C582 #3B38C5 #C5387B
split-complementary
#C2C538 #387BC5 #8238C5
monochromatic
#64661D #93952A #C2C538 #D1D467 #E0E196

Accessibility & contrast

On white

1.85
#C2C538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#C2C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C538
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C538#FFFFFF#000000##000000
##C2C5381.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1E
Deuteranopia (green-blind)
#D6C043
Tritanopia (blue-blind)
#D0B9AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c2c538;
/* rgb */ color: rgb(194, 197, 56);
/* oklch */ color: oklch(79.6% 0.156 110.7);
Tailwind
colors: {
  custom: {
    50: '#d8d678',
    500: '#c2c538',
    950: '#000000',
  },
}
SCSS
$custom: #c2c538;
$custom-light: #d8d678;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c538",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 61.277,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79648,
    "c": 0.15633,
    "h": 110.7
  },
  "luminance": 0.51687
}

Semantic roles & 50–950 ramp

primary
#C2C538
secondary
#323170
accent
#49DF4C
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C538

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

Preview Lab → · Contrast checker → · Palette generator →

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