#C2C535#C2C535

#C2C535 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.6% C 0.158 H 110.7°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#C2C535
RGBrgb(194, 197, 53)
HSLhsl(61, 58%, 49%)
HSVhsv(61, 73%, 77%)
CMYKcmyk(1.5%, 0%, 73.1%, 22.7%)
CIE-LABlab(77.08, -17.78, 67.10)
CIE-LCHlch(77.08, 69.42, 104.84°)
OKLaboklab(79.63% -0.0559 0.1479)
OKLCHoklch(79.63% 0.158 110.7)
XYZxyz(42.8585, 51.6601, 11.0812)
Luminance0.5166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C535 #3835C5
analogous
#C58035 #C2C535 #7AC535
triadic
#C2C535 #35C2C5 #C535C2
tetradic
#C2C535 #35C580 #3835C5 #C5357A
square
#C2C535 #35C580 #3835C5 #C5357A
split-complementary
#C2C535 #357AC5 #8035C5
monochromatic
#63651B #939528 #C2C535 #D2D562 #E0E293

Accessibility & contrast

On white

1.85
#C2C535 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#C2C535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C535
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C535#FFFFFF#000000##000000
##C2C5351.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC17
Deuteranopia (green-blind)
#D6C041
Tritanopia (blue-blind)
#D0B9AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c2c535;
/* rgb */ color: rgb(194, 197, 53);
/* oklch */ color: oklch(79.6% 0.158 110.7);
Tailwind
colors: {
  custom: {
    50: '#d8d677',
    500: '#c2c535',
    950: '#000000',
  },
}
SCSS
$custom: #c2c535;
$custom-light: #d8d677;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c535",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 53
  },
  "hsl": {
    "h": 61.25,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.79629,
    "c": 0.15807,
    "h": 110.7
  },
  "luminance": 0.51659
}

Semantic roles & 50–950 ramp

primary
#C2C535
secondary
#312F6F
accent
#47E14A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C535

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

Preview Lab → · Contrast checker → · Palette generator →

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