#C2C938#C2C938

#C2C938 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.5% C 0.160 H 112.3°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#C2C938
RGBrgb(194, 201, 56)
HSLhsl(63, 57%, 50%)
HSVhsv(63, 72%, 79%)
CMYKcmyk(3.5%, 0%, 72.1%, 21.2%)
CIE-LABlab(78.19, -19.63, 67.14)
CIE-LCHlch(78.19, 69.95, 106.30°)
OKLaboklab(80.52% -0.0608 0.1485)
OKLCHoklch(80.52% 0.16 112.3)
XYZxyz(43.8500, 53.5292, 11.7629)
Luminance0.5353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C938 #3F38C9
analogous
#C98838 #C2C938 #79C938
triadic
#C2C938 #38C2C9 #C938C2
tetradic
#C2C938 #38C988 #3F38C9 #C93879
square
#C2C938 #38C988 #3F38C9 #C93879
split-complementary
#C2C938 #3879C9 #8838C9
monochromatic
#666A1D #959A2A #C2C938 #D1D668 #E0E398

Accessibility & contrast

On white

1.79
#C2C938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#C2C938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C938
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C938#FFFFFF#000000##000000
##C2C9381.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C01C
Deuteranopia (green-blind)
#D9C344
Tritanopia (blue-blind)
#CFBDAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c938;
/* rgb */ color: rgb(194, 201, 56);
/* oklch */ color: oklch(80.5% 0.160 112.3);
Tailwind
colors: {
  custom: {
    50: '#d8d979',
    500: '#c2c938',
    950: '#000000',
  },
}
SCSS
$custom: #c2c938;
$custom-light: #d8d979;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c938",
  "rgb": {
    "r": 194,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 62.897,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80522,
    "c": 0.16041,
    "h": 112.3
  },
  "luminance": 0.53528
}

Semantic roles & 50–950 ramp

primary
#C2C938
secondary
#353174
accent
#47E14F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C938

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

Preview Lab → · Contrast checker → · Palette generator →

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