#C2C835#C2C835

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

Color values

HEX#C2C835
RGBrgb(194, 200, 53)
HSLhsl(62, 58%, 50%)
HSVhsv(62, 74%, 78%)
CMYKcmyk(3%, 0%, 73.5%, 21.6%)
CIE-LABlab(77.90, -19.27, 67.87)
CIE-LCHlch(77.90, 70.56, 105.85°)
OKLaboklab(80.28% -0.0601 0.1495)
OKLCHoklch(80.28% 0.161 111.9)
XYZxyz(43.5465, 53.0360, 11.3105)
Luminance0.5303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C835 #3B35C8
analogous
#C88535 #C2C835 #79C835
triadic
#C2C835 #35C2C8 #C835C2
tetradic
#C2C835 #35C885 #3B35C8 #C83579
square
#C2C835 #35C885 #3B35C8 #C83579
split-complementary
#C2C835 #3579C8 #8535C8
monochromatic
#64671B #939828 #C2C835 #D1D664 #E0E395

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C835#FFFFFF#000000##000000
##C2C8351.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)
#D7BF15
Deuteranopia (green-blind)
#D8C241
Tritanopia (blue-blind)
#CFBCAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c835;
/* rgb */ color: rgb(194, 200, 53);
/* oklch */ color: oklch(80.3% 0.161 111.9);
Tailwind
colors: {
  custom: {
    50: '#d8d877',
    500: '#c2c835',
    950: '#000000',
  },
}
SCSS
$custom: #c2c835;
$custom-light: #d8d877;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c835",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 53
  },
  "hsl": {
    "h": 62.449,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.80284,
    "c": 0.16111,
    "h": 111.9
  },
  "luminance": 0.53035
}

Semantic roles & 50–950 ramp

primary
#C2C835
secondary
#323071
accent
#46E14D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C835

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

Preview Lab → · Contrast checker → · Palette generator →

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