#C2C534#C2C534

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

Color values

HEX#C2C534
RGBrgb(194, 197, 52)
HSLhsl(61, 58%, 49%)
HSVhsv(61, 74%, 77%)
CMYKcmyk(1.5%, 0%, 73.6%, 22.7%)
CIE-LABlab(77.07, -17.82, 67.43)
CIE-LCHlch(77.07, 69.75, 104.81°)
OKLaboklab(79.62% -0.0561 0.1484)
OKLCHoklch(79.62% 0.159 110.7)
XYZxyz(42.8357, 51.6510, 10.9613)
Luminance0.5165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C534 #3734C5
analogous
#C58034 #C2C534 #7AC534
triadic
#C2C534 #34C2C5 #C534C2
tetradic
#C2C534 #34C580 #3734C5 #C5347A
square
#C2C534 #34C580 #3734C5 #C5347A
split-complementary
#C2C534 #347AC5 #8034C5
monochromatic
#63641A #929527 #C2C534 #D3D561 #E0E291

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C534#FFFFFF#000000##000000
##C2C5341.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)
#D5BC14
Deuteranopia (green-blind)
#D6C040
Tritanopia (blue-blind)
#D0B9A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c2c534;
/* rgb */ color: rgb(194, 197, 52);
/* oklch */ color: oklch(79.6% 0.159 110.7);
Tailwind
colors: {
  custom: {
    50: '#d8d676',
    500: '#c2c534',
    950: '#000000',
  },
}
SCSS
$custom: #c2c534;
$custom-light: #d8d676;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c534",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 52
  },
  "hsl": {
    "h": 61.241,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79623,
    "c": 0.15863,
    "h": 110.7
  },
  "luminance": 0.5165
}

Semantic roles & 50–950 ramp

primary
#C2C534
secondary
#302F6F
accent
#46E14A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C534

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

Preview Lab → · Contrast checker → · Palette generator →

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