#C4B951#C4B951

#C4B951 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.4% C 0.126 H 103.3°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#C4B951
RGBrgb(196, 185, 81)
HSLhsl(54, 49%, 54%)
HSVhsv(54, 59%, 77%)
CMYKcmyk(0%, 5.6%, 58.7%, 23.1%)
CIE-LABlab(74.21, -9.20, 53.00)
CIE-LCHlch(74.21, 53.80, 99.85°)
OKLaboklab(77.45% -0.0289 0.1224)
OKLCHoklch(77.45% 0.126 103.3)
XYZxyz(41.6006, 47.0293, 14.6692)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B951 #515CC4
analogous
#C48051 #C4B951 #96C451
triadic
#C4B951 #51C4B9 #B951C4
tetradic
#C4B951 #51C480 #515CC4 #C45196
square
#C4B951 #51C480 #515CC4 #C45196
split-complementary
#C4B951 #5196C4 #8051C4
monochromatic
#736C27 #A19737 #C4B951 #D3CB7F #E3DEAC

Accessibility & contrast

On white

2.02
#C4B951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#C4B951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B951
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B951#FFFFFF#000000##000000
##C4B9511.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B346
Deuteranopia (green-blind)
#CCB956
Tritanopia (blue-blind)
#D2ADA2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c4b951;
/* rgb */ color: rgb(196, 185, 81);
/* oklch */ color: oklch(77.4% 0.126 103.3);
Tailwind
colors: {
  custom: {
    50: '#d8cd86',
    500: '#c4b951',
    950: '#000000',
  },
}
SCSS
$custom: #c4b951;
$custom-light: #d8cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b951",
  "rgb": {
    "r": 196,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 54.261,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77449,
    "c": 0.12572,
    "h": 103.3
  },
  "luminance": 0.47028
}

Semantic roles & 50–950 ramp

primary
#C4B951
secondary
#A0A5D1
accent
#5CD94F
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C4B951

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

Preview Lab → · Contrast checker → · Palette generator →

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