#C2C733#C2C733

#C2C733 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.1% C 0.161 H 111.5°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#C2C733
RGBrgb(194, 199, 51)
HSLhsl(62, 59%, 49%)
HSVhsv(62, 74%, 78%)
CMYKcmyk(2.5%, 0%, 74.4%, 22%)
CIE-LABlab(77.61, -18.86, 68.26)
CIE-LCHlch(77.61, 70.82, 105.45°)
OKLaboklab(80.05% -0.0591 0.15)
OKLCHoklch(80.05% 0.161 111.5)
XYZxyz(43.2706, 52.5563, 10.9963)
Luminance0.5255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C733 #3833C7
analogous
#C78233 #C2C733 #78C733
triadic
#C2C733 #33C2C7 #C733C2
tetradic
#C2C733 #33C782 #3833C7 #C73378
square
#C2C733 #33C782 #3833C7 #C73378
split-complementary
#C2C733 #3378C7 #8233C7
monochromatic
#63661A #939627 #C2C733 #D2D661 #E0E391

Accessibility & contrast

On white

1.82
#C2C733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#C2C733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C733
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C733#FFFFFF#000000##000000
##C2C7331.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE10
Deuteranopia (green-blind)
#D7C23F
Tritanopia (blue-blind)
#D0BBAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c2c733;
/* rgb */ color: rgb(194, 199, 51);
/* oklch */ color: oklch(80.1% 0.161 111.5);
Tailwind
colors: {
  custom: {
    50: '#d8d776',
    500: '#c2c733',
    950: '#000000',
  },
}
SCSS
$custom: #c2c733;
$custom-light: #d8d776;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c733",
  "rgb": {
    "r": 194,
    "g": 199,
    "b": 51
  },
  "hsl": {
    "h": 62.027,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.80053,
    "c": 0.16119,
    "h": 111.5
  },
  "luminance": 0.52555
}

Semantic roles & 50–950 ramp

primary
#C2C733
secondary
#312E70
accent
#45E24B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C733

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

Preview Lab → · Contrast checker → · Palette generator →

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