#C4C726#C4C726

#C4C726 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.2% C 0.167 H 110.8°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#C4C726
RGBrgb(196, 199, 38)
HSLhsl(61, 68%, 46%)
HSVhsv(61, 81%, 78%)
CMYKcmyk(1.5%, 0%, 80.9%, 22%)
CIE-LABlab(77.71, -18.49, 72.20)
CIE-LCHlch(77.71, 74.53, 104.37°)
OKLaboklab(80.15% -0.0592 0.156)
OKLCHoklch(80.15% 0.167 110.8)
XYZxyz(43.5399, 52.7238, 9.7165)
Luminance0.5272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C726 #2926C7
analogous
#C77A26 #C4C726 #74C726
triadic
#C4C726 #26C4C7 #C726C4
tetradic
#C4C726 #26C77A #2926C7 #C72674
square
#C4C726 #26C77A #2926C7 #C72674
split-complementary
#C4C726 #2674C7 #7A26C7
monochromatic
#5F6012 #91941C #C4C726 #DADD4D #E5E781

Accessibility & contrast

On white

1.82
#C4C726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#C4C726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C726
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C726#FFFFFF#000000##000000
##C4C7261.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D8C236
Tritanopia (blue-blind)
#D2BAAA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c4c726;
/* rgb */ color: rgb(196, 199, 38);
/* oklch */ color: oklch(80.2% 0.167 110.8);
Tailwind
colors: {
  custom: {
    50: '#dad771',
    500: '#c4c726',
    950: '#000000',
  },
}
SCSS
$custom: #c4c726;
$custom-light: #dad771;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c726",
  "rgb": {
    "r": 196,
    "g": 199,
    "b": 38
  },
  "hsl": {
    "h": 61.118,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.80153,
    "c": 0.16684,
    "h": 110.8
  },
  "luminance": 0.52723
}

Semantic roles & 50–950 ramp

primary
#C4C726
secondary
#27266B
accent
#3DEB40
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C726

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

Preview Lab → · Contrast checker → · Palette generator →

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