#C2C935#C2C935

#C2C935 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.5% C 0.162 H 112.3°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#C2C935
RGBrgb(194, 201, 53)
HSLhsl(63, 58%, 50%)
HSVhsv(63, 74%, 79%)
CMYKcmyk(3.5%, 0%, 73.6%, 21.2%)
CIE-LABlab(78.17, -19.76, 68.13)
CIE-LCHlch(78.17, 70.94, 106.18°)
OKLaboklab(80.5% -0.0614 0.15)
OKLCHoklch(80.5% 0.162 112.3)
XYZxyz(43.7788, 53.5007, 11.3880)
Luminance0.5350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C935 #3C35C9
analogous
#C98635 #C2C935 #78C935
triadic
#C2C935 #35C2C9 #C935C2
tetradic
#C2C935 #35C986 #3C35C9 #C93578
square
#C2C935 #35C986 #3C35C9 #C93578
split-complementary
#C2C935 #3578C9 #8635C9
monochromatic
#65681B #939928 #C2C935 #D1D665 #DFE395

Accessibility & contrast

On white

1.79
#C2C935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#C2C935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C935
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C935#FFFFFF#000000##000000
##C2C9351.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C015
Deuteranopia (green-blind)
#D9C341
Tritanopia (blue-blind)
#CFBDAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c935;
/* rgb */ color: rgb(194, 201, 53);
/* oklch */ color: oklch(80.5% 0.162 112.3);
Tailwind
colors: {
  custom: {
    50: '#d8d977',
    500: '#c2c935',
    950: '#000000',
  },
}
SCSS
$custom: #c2c935;
$custom-light: #d8d977;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c935",
  "rgb": {
    "r": 194,
    "g": 201,
    "b": 53
  },
  "hsl": {
    "h": 62.838,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.80503,
    "c": 0.16212,
    "h": 112.3
  },
  "luminance": 0.535
}

Semantic roles & 50–950 ramp

primary
#C2C935
secondary
#333072
accent
#46E14E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C935

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

Preview Lab → · Contrast checker → · Palette generator →

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