#C2C933#C2C933

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

Color values

HEX#C2C933
RGBrgb(194, 201, 51)
HSLhsl(63, 60%, 49%)
HSVhsv(63, 75%, 79%)
CMYKcmyk(3.5%, 0%, 74.6%, 21.2%)
CIE-LABlab(78.16, -19.85, 68.77)
CIE-LCHlch(78.16, 71.58, 106.10°)
OKLaboklab(80.49% -0.0618 0.151)
OKLCHoklch(80.49% 0.163 112.3)
XYZxyz(43.7338, 53.4827, 11.1507)
Luminance0.5348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C933 #3A33C9
analogous
#C98533 #C2C933 #77C933
triadic
#C2C933 #33C2C9 #C933C2
tetradic
#C2C933 #33C985 #3A33C9 #C93377
square
#C2C933 #33C985 #3A33C9 #C93377
split-complementary
#C2C933 #3377C9 #8533C9
monochromatic
#64671A #939827 #C2C933 #D2D762 #E0E493

Accessibility & contrast

On white

1.80
#C2C933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C933#FFFFFF#000000##000000
##C2C9331.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c933;
/* rgb */ color: rgb(194, 201, 51);
/* oklch */ color: oklch(80.5% 0.163 112.3);
Tailwind
colors: {
  custom: {
    50: '#d8d976',
    500: '#c2c933',
    950: '#000000',
  },
}
SCSS
$custom: #c2c933;
$custom-light: #d8d976;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c933",
  "rgb": {
    "r": 194,
    "g": 201,
    "b": 51
  },
  "hsl": {
    "h": 62.8,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.80491,
    "c": 0.16321,
    "h": 112.3
  },
  "luminance": 0.53482
}

Semantic roles & 50–950 ramp

primary
#C2C933
secondary
#322F71
accent
#45E34C
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C933

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

Preview Lab → · Contrast checker → · Palette generator →

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