#B4A858#B4A858

#B4A858 is a light, moderate yellow. Relative luminance 0.384; OKLCH L 72.5% C 0.103 H 100.9°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#B4A858
RGBrgb(180, 168, 88)
HSLhsl(52, 38%, 53%)
HSVhsv(52, 51%, 71%)
CMYKcmyk(0%, 6.7%, 51.1%, 29.4%)
CIE-LABlab(68.32, -6.50, 42.50)
CIE-LCHlch(68.32, 43.00, 98.70°)
OKLaboklab(72.47% -0.0194 0.1007)
OKLCHoklch(72.47% 0.103 100.9)
XYZxyz(34.5875, 38.4144, 14.8234)
Luminance0.3841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A858 #5864B4
analogous
#B47A58 #B4A858 #92B458
triadic
#B4A858 #58B4A8 #A858B4
tetradic
#B4A858 #58B47A #5864B4 #B45892
square
#B4A858 #58B47A #5864B4 #B45892
split-complementary
#B4A858 #5892B4 #7A58B4
monochromatic
#645D2D #8F8440 #B4A858 #C7BE82 #DAD4AC

Accessibility & contrast

On white

2.42
#B4A858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#B4A858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A858
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A858#FFFFFF#000000##000000
##B4A8581.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A451
Deuteranopia (green-blind)
#B9A95C
Tritanopia (blue-blind)
#C09E95
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b4a858;
/* rgb */ color: rgb(180, 168, 88);
/* oklch */ color: oklch(72.5% 0.103 100.9);
Tailwind
colors: {
  custom: {
    50: '#ccc189',
    500: '#b4a858',
    950: '#000000',
  },
}
SCSS
$custom: #b4a858;
$custom-light: #ccc189;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a858",
  "rgb": {
    "r": 180,
    "g": 168,
    "b": 88
  },
  "hsl": {
    "h": 52.174,
    "s": 38.017,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7247,
    "c": 0.10257,
    "h": 100.9
  },
  "luminance": 0.38413
}

Semantic roles & 50–950 ramp

primary
#B4A858
secondary
#A0A5C8
accent
#69CE5A
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B4A858

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

Preview Lab → · Contrast checker → · Palette generator →

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