#C2C934#C2C934

#C2C934 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#C2C934
RGBrgb(194, 201, 52)
HSLhsl(63, 59%, 50%)
HSVhsv(63, 74%, 79%)
CMYKcmyk(3.5%, 0%, 74.1%, 21.2%)
CIE-LABlab(78.16, -19.81, 68.45)
CIE-LCHlch(78.16, 71.26, 106.14°)
OKLaboklab(80.5% -0.0616 0.1505)
OKLCHoklch(80.5% 0.163 112.3)
XYZxyz(43.7560, 53.4916, 11.2681)
Luminance0.5349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C934 #3B34C9
analogous
#C98634 #C2C934 #77C934
triadic
#C2C934 #34C2C9 #C934C2
tetradic
#C2C934 #34C986 #3B34C9 #C93477
square
#C2C934 #34C986 #3B34C9 #C93477
split-complementary
#C2C934 #3477C9 #8634C9
monochromatic
#64681B #939827 #C2C934 #D1D763 #E0E394

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C934#FFFFFF#000000##000000
##C2C9341.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)
#D8C012
Deuteranopia (green-blind)
#D9C340
Tritanopia (blue-blind)
#CFBDAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c934;
/* rgb */ color: rgb(194, 201, 52);
/* oklch */ color: oklch(80.5% 0.163 112.3);
Tailwind
colors: {
  custom: {
    50: '#d8d977',
    500: '#c2c934',
    950: '#000000',
  },
}
SCSS
$custom: #c2c934;
$custom-light: #d8d977;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c934",
  "rgb": {
    "r": 194,
    "g": 201,
    "b": 52
  },
  "hsl": {
    "h": 62.819,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.80497,
    "c": 0.16267,
    "h": 112.3
  },
  "luminance": 0.53491
}

Semantic roles & 50–950 ramp

primary
#C2C934
secondary
#322F72
accent
#46E24D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C934

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

Preview Lab → · Contrast checker → · Palette generator →

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