#C4C534#C4C534

#C4C534 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.8% C 0.158 H 109.9°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#C4C534
RGBrgb(196, 197, 52)
HSLhsl(60, 58%, 49%)
HSVhsv(60, 74%, 77%)
CMYKcmyk(0.5%, 0%, 73.6%, 22.7%)
CIE-LABlab(77.23, -16.98, 67.64)
CIE-LCHlch(77.23, 69.73, 104.09°)
OKLaboklab(79.79% -0.0539 0.1487)
OKLCHoklch(79.79% 0.158 109.9)
XYZxyz(43.3526, 51.9175, 10.9856)
Luminance0.5192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C534 #3534C5
analogous
#C57E34 #C4C534 #7CC534
triadic
#C4C534 #34C4C5 #C534C4
tetradic
#C4C534 #34C57E #3534C5 #C5347C
square
#C4C534 #34C57E #3534C5 #C5347C
split-complementary
#C4C534 #347CC5 #7E34C5
monochromatic
#64641A #949527 #C4C534 #D4D561 #E1E291

Accessibility & contrast

On white

1.84
#C4C534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#C4C534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C534
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C534#FFFFFF#000000##000000
##C4C5341.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC14
Deuteranopia (green-blind)
#D6C140
Tritanopia (blue-blind)
#D2B8A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c4c534;
/* rgb */ color: rgb(196, 197, 52);
/* oklch */ color: oklch(79.8% 0.158 109.9);
Tailwind
colors: {
  custom: {
    50: '#dad676',
    500: '#c4c534',
    950: '#000000',
  },
}
SCSS
$custom: #c4c534;
$custom-light: #dad676;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c534",
  "rgb": {
    "r": 196,
    "g": 197,
    "b": 52
  },
  "hsl": {
    "h": 60.414,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79789,
    "c": 0.15819,
    "h": 109.9
  },
  "luminance": 0.51916
}

Semantic roles & 50–950 ramp

primary
#C4C534
secondary
#2F2F6F
accent
#46E147
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C534

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

Preview Lab → · Contrast checker → · Palette generator →

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