#C4C426#C4C426

#C4C426 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.5% C 0.164 H 109.6°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#C4C426
RGBrgb(196, 196, 38)
HSLhsl(60, 68%, 46%)
HSVhsv(60, 81%, 77%)
CMYKcmyk(0%, 0%, 80.6%, 23.1%)
CIE-LABlab(76.89, -17.00, 71.49)
CIE-LCHlch(76.89, 73.49, 103.38°)
OKLaboklab(79.5% -0.055 0.1545)
OKLCHoklch(79.5% 0.164 109.6)
XYZxyz(42.8564, 51.3569, 9.4887)
Luminance0.5136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C426 #2626C4
analogous
#C47526 #C4C426 #75C426
triadic
#C4C426 #26C4C4 #C426C4
tetradic
#C4C426 #26C475 #2626C4 #C42675
square
#C4C426 #26C475 #2626C4 #C42675
split-complementary
#C4C426 #2675C4 #7526C4
monochromatic
#5D5D12 #91911C #C4C426 #DCDC4B #E6E67E

Accessibility & contrast

On white

1.86
#C4C426 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#C4C426 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C426
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C426#FFFFFF#000000##000000
##C4C4261.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D6C035
Tritanopia (blue-blind)
#D2B7A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c4c426;
/* rgb */ color: rgb(196, 196, 38);
/* oklch */ color: oklch(79.5% 0.164 109.6);
Tailwind
colors: {
  custom: {
    50: '#dad570',
    500: '#c4c426',
    950: '#000000',
  },
}
SCSS
$custom: #c4c426;
$custom-light: #dad570;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c426",
  "rgb": {
    "r": 196,
    "g": 196,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 67.521,
    "l": 45.882
  },
  "oklch": {
    "l": 0.795,
    "c": 0.16399,
    "h": 109.6
  },
  "luminance": 0.51356
}

Semantic roles & 50–950 ramp

primary
#C4C426
secondary
#252569
accent
#3DEA3D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C4C426

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

Preview Lab → · Contrast checker → · Palette generator →

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