#C2C831#C2C831

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

Color values

HEX#C2C831
RGBrgb(194, 200, 49)
HSLhsl(62, 61%, 49%)
HSVhsv(62, 76%, 78%)
CMYKcmyk(3%, 0%, 75.5%, 21.6%)
CIE-LABlab(77.88, -19.44, 69.14)
CIE-LCHlch(77.88, 71.82, 105.70°)
OKLaboklab(80.26% -0.0609 0.1515)
OKLCHoklch(80.26% 0.163 111.9)
XYZxyz(43.4583, 53.0007, 10.8460)
Luminance0.5300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C831 #3731C8
analogous
#C88331 #C2C831 #77C831
triadic
#C2C831 #31C2C8 #C831C2
tetradic
#C2C831 #31C883 #3731C8 #C83177
square
#C2C831 #31C883 #3731C8 #C83177
split-complementary
#C2C831 #3177C8 #8331C8
monochromatic
#636619 #929725 #C2C831 #D3D85F #E0E490

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C831#FFFFFF#000000##000000
##C2C8311.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)
#D8BF08
Deuteranopia (green-blind)
#D8C23E
Tritanopia (blue-blind)
#D0BBAC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c2c831;
/* rgb */ color: rgb(194, 200, 49);
/* oklch */ color: oklch(80.3% 0.163 111.9);
Tailwind
colors: {
  custom: {
    50: '#d8d875',
    500: '#c2c831',
    950: '#000000',
  },
}
SCSS
$custom: #c2c831;
$custom-light: #d8d875;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c831",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 62.384,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80261,
    "c": 0.16325,
    "h": 111.9
  },
  "luminance": 0.53
}

Semantic roles & 50–950 ramp

primary
#C2C831
secondary
#302D70
accent
#44E44A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C831

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

Preview Lab → · Contrast checker → · Palette generator →

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