#C2C834#C2C834

#C2C834 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.61:1 contrast (WCAG AA passes).

Color values

HEX#C2C834
RGBrgb(194, 200, 52)
HSLhsl(62, 59%, 49%)
HSVhsv(62, 74%, 78%)
CMYKcmyk(3%, 0%, 74%, 21.6%)
CIE-LABlab(77.89, -19.31, 68.20)
CIE-LCHlch(77.89, 70.88, 105.81°)
OKLaboklab(80.28% -0.0603 0.15)
OKLCHoklch(80.28% 0.162 111.9)
XYZxyz(43.5237, 53.0269, 11.1906)
Luminance0.5303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C834 #3A34C8
analogous
#C88434 #C2C834 #78C834
triadic
#C2C834 #34C2C8 #C834C2
tetradic
#C2C834 #34C884 #3A34C8 #C83478
square
#C2C834 #34C884 #3A34C8 #C83478
split-complementary
#C2C834 #3478C8 #8434C8
monochromatic
#64671B #939727 #C2C834 #D2D663 #E0E393

Accessibility & contrast

On white

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

On black

11.61
#C2C834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C834
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C834#FFFFFF#000000##000000
##C2C8341.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c834;
/* rgb */ color: rgb(194, 200, 52);
/* oklch */ color: oklch(80.3% 0.162 111.9);
Tailwind
colors: {
  custom: {
    50: '#d8d877',
    500: '#c2c834',
    950: '#000000',
  },
}
SCSS
$custom: #c2c834;
$custom-light: #d8d877;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c834",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 52
  },
  "hsl": {
    "h": 62.432,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.80278,
    "c": 0.16166,
    "h": 111.9
  },
  "luminance": 0.53026
}

Semantic roles & 50–950 ramp

primary
#C2C834
secondary
#322F71
accent
#46E24C
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C834

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

Preview Lab → · Contrast checker → · Palette generator →

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