#C4C129#C4C129

#C4C129 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.9% C 0.160 H 108.4°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#C4C129
RGBrgb(196, 193, 41)
HSLhsl(59, 65%, 46%)
HSVhsv(59, 79%, 77%)
CMYKcmyk(0%, 1.5%, 79.1%, 23.1%)
CIE-LABlab(76.09, -15.40, 69.98)
CIE-LCHlch(76.09, 71.65, 102.41°)
OKLaboklab(78.86% -0.0504 0.1517)
OKLCHoklch(78.86% 0.16 108.4)
XYZxyz(42.2369, 50.0372, 9.5307)
Luminance0.5004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C129 #292CC4
analogous
#C47429 #C4C129 #7AC429
triadic
#C4C129 #29C4C1 #C129C4
tetradic
#C4C129 #29C474 #292CC4 #C4297A
square
#C4C129 #29C474 #292CC4 #C4297A
split-complementary
#C4C129 #297AC4 #7429C4
monochromatic
#5F5D14 #918F1E #C4C129 #DAD850 #E5E382

Accessibility & contrast

On white

1.91
#C4C129 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#C4C129 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C129
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C129#FFFFFF#000000##000000
##C4C1291.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B900
Deuteranopia (green-blind)
#D4BE37
Tritanopia (blue-blind)
#D3B4A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c4c129;
/* rgb */ color: rgb(196, 193, 41);
/* oklch */ color: oklch(78.9% 0.160 108.4);
Tailwind
colors: {
  custom: {
    50: '#dad371',
    500: '#c4c129',
    950: '#000000',
  },
}
SCSS
$custom: #c4c129;
$custom-light: #dad371;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c129",
  "rgb": {
    "r": 196,
    "g": 193,
    "b": 41
  },
  "hsl": {
    "h": 58.839,
    "s": 65.401,
    "l": 46.471
  },
  "oklch": {
    "l": 0.78862,
    "c": 0.15988,
    "h": 108.4
  },
  "luminance": 0.50036
}

Semantic roles & 50–950 ramp

primary
#C4C129
secondary
#27296A
accent
#43E83F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C129

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

Preview Lab → · Contrast checker → · Palette generator →

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