#C4C538#C4C538

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

Color values

HEX#C4C538
RGBrgb(196, 197, 56)
HSLhsl(60, 56%, 50%)
HSVhsv(60, 72%, 77%)
CMYKcmyk(0.5%, 0%, 71.6%, 22.7%)
CIE-LABlab(77.25, -16.80, 66.30)
CIE-LCHlch(77.25, 68.39, 104.22°)
OKLaboklab(79.82% -0.053 0.1466)
OKLCHoklch(79.82% 0.156 109.9)
XYZxyz(43.4465, 51.9550, 11.4803)
Luminance0.5195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C538 #3938C5
analogous
#C58038 #C4C538 #7DC538
triadic
#C4C538 #38C4C5 #C538C4
tetradic
#C4C538 #38C580 #3938C5 #C5387D
square
#C4C538 #38C580 #3938C5 #C5387D
split-complementary
#C4C538 #387DC5 #8038C5
monochromatic
#65661D #95952A #C4C538 #D3D467 #E1E196

Accessibility & contrast

On white

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

On black

11.39
#C4C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C538
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C538#FFFFFF#000000##000000
##C4C5381.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD1D
Deuteranopia (green-blind)
#D6C143
Tritanopia (blue-blind)
#D2B9AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c4c538;
/* rgb */ color: rgb(196, 197, 56);
/* oklch */ color: oklch(79.8% 0.156 109.9);
Tailwind
colors: {
  custom: {
    50: '#d9d678',
    500: '#c4c538',
    950: '#000000',
  },
}
SCSS
$custom: #c4c538;
$custom-light: #d9d678;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c538",
  "rgb": {
    "r": 196,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 60.426,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79815,
    "c": 0.15591,
    "h": 109.9
  },
  "luminance": 0.51954
}

Semantic roles & 50–950 ramp

primary
#C4C538
secondary
#323170
accent
#49DF4A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4C538

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

Preview Lab → · Contrast checker → · Palette generator →

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