#C4B527#C4B527

#C4B527 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.3% C 0.150 H 102.9°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#C4B527
RGBrgb(196, 181, 39)
HSLhsl(54, 67%, 46%)
HSVhsv(54, 80%, 77%)
CMYKcmyk(0%, 7.7%, 80.1%, 23.1%)
CIE-LABlab(72.85, -9.34, 67.70)
CIE-LCHlch(72.85, 68.34, 97.86°)
OKLaboklab(76.27% -0.0336 0.1465)
OKLCHoklch(76.27% 0.15 102.9)
XYZxyz(39.6569, 44.9318, 8.5029)
Luminance0.4493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B527 #2736C4
analogous
#C46727 #C4B527 #84C427
triadic
#C4B527 #27C4B5 #B527C4
tetradic
#C4B527 #27C467 #2736C4 #C42784
square
#C4B527 #27C467 #2736C4 #C42784
split-complementary
#C4B527 #2784C4 #6727C4
monochromatic
#5E5713 #91861D #C4B527 #DCCE4D #E6DC80

Accessibility & contrast

On white

2.10
#C4B527 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#C4B527 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B527
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B527#FFFFFF#000000##000000
##C4B5271.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#CBB633
Tritanopia (blue-blind)
#D3A89B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c4b527;
/* rgb */ color: rgb(196, 181, 39);
/* oklch */ color: oklch(76.3% 0.150 102.9);
Tailwind
colors: {
  custom: {
    50: '#daca6f',
    500: '#c4b527',
    950: '#000000',
  },
}
SCSS
$custom: #c4b527;
$custom-light: #daca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b527",
  "rgb": {
    "r": 196,
    "g": 181,
    "b": 39
  },
  "hsl": {
    "h": 54.268,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76274,
    "c": 0.15027,
    "h": 102.9
  },
  "luminance": 0.4493
}

Semantic roles & 50–950 ramp

primary
#C4B527
secondary
#7981CE
accent
#4EEA3E
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#151308
muted
#84827B

Preview Lab

Preview with #C4B527

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

Preview Lab → · Contrast checker → · Palette generator →

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