#C2C833#C2C833

#C2C833 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.3% C 0.162 H 111.9°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#C2C833
RGBrgb(194, 200, 51)
HSLhsl(62, 59%, 49%)
HSVhsv(62, 75%, 78%)
CMYKcmyk(3%, 0%, 74.5%, 21.6%)
CIE-LABlab(77.89, -19.36, 68.52)
CIE-LCHlch(77.89, 71.20, 105.78°)
OKLaboklab(80.27% -0.0605 0.1505)
OKLCHoklch(80.27% 0.162 111.9)
XYZxyz(43.5014, 53.0180, 11.0733)
Luminance0.5302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C833 #3933C8
analogous
#C88433 #C2C833 #78C833
triadic
#C2C833 #33C2C8 #C833C2
tetradic
#C2C833 #33C884 #3933C8 #C83378
square
#C2C833 #33C884 #3933C8 #C83378
split-complementary
#C2C833 #3378C8 #8433C8
monochromatic
#63661A #939727 #C2C833 #D2D761 #E0E392

Accessibility & contrast

On white

1.81
#C2C833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#C2C833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C833
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C833#FFFFFF#000000##000000
##C2C8331.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF0F
Deuteranopia (green-blind)
#D8C240
Tritanopia (blue-blind)
#CFBCAC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c2c833;
/* rgb */ color: rgb(194, 200, 51);
/* oklch */ color: oklch(80.3% 0.162 111.9);
Tailwind
colors: {
  custom: {
    50: '#d8d876',
    500: '#c2c833',
    950: '#000000',
  },
}
SCSS
$custom: #c2c833;
$custom-light: #d8d876;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c833",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 51
  },
  "hsl": {
    "h": 62.416,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.80272,
    "c": 0.1622,
    "h": 111.9
  },
  "luminance": 0.53017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2C833

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

Preview Lab → · Contrast checker → · Palette generator →

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