#C2C937#C2C937

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

Color values

HEX#C2C937
RGBrgb(194, 201, 55)
HSLhsl(63, 57%, 50%)
HSVhsv(63, 73%, 79%)
CMYKcmyk(3.5%, 0%, 72.6%, 21.2%)
CIE-LABlab(78.18, -19.67, 67.47)
CIE-LCHlch(78.18, 70.28, 106.25°)
OKLaboklab(80.52% -0.061 0.149)
OKLCHoklch(80.52% 0.161 112.3)
XYZxyz(43.8258, 53.5195, 11.6353)
Luminance0.5352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C937 #3E37C9
analogous
#C98737 #C2C937 #79C937
triadic
#C2C937 #37C2C9 #C937C2
tetradic
#C2C937 #37C987 #3E37C9 #C93779
square
#C2C937 #37C987 #3E37C9 #C93779
split-complementary
#C2C937 #3779C9 #8737C9
monochromatic
#66691C #949929 #C2C937 #D1D667 #DFE397

Accessibility & contrast

On white

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

On black

11.70
#C2C937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C937
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C937#FFFFFF#000000##000000
##C2C9371.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c937;
/* rgb */ color: rgb(194, 201, 55);
/* oklch */ color: oklch(80.5% 0.161 112.3);
Tailwind
colors: {
  custom: {
    50: '#d8d978',
    500: '#c2c937',
    950: '#000000',
  },
}
SCSS
$custom: #c2c937;
$custom-light: #d8d978;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c937",
  "rgb": {
    "r": 194,
    "g": 201,
    "b": 55
  },
  "hsl": {
    "h": 62.877,
    "s": 57.48,
    "l": 50.196
  },
  "oklch": {
    "l": 0.80515,
    "c": 0.161,
    "h": 112.3
  },
  "luminance": 0.53518
}

Semantic roles & 50–950 ramp

primary
#C2C937
secondary
#343173
accent
#47E14E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C937

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

Preview Lab → · Contrast checker → · Palette generator →

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