#B4A258#B4A258

#B4A258 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.2% C 0.097 H 96.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#B4A258
RGBrgb(180, 162, 88)
HSLhsl(48, 38%, 53%)
HSVhsv(48, 51%, 71%)
CMYKcmyk(0%, 10%, 51.1%, 29.4%)
CIE-LABlab(66.71, -3.30, 40.56)
CIE-LCHlch(66.71, 40.69, 94.66°)
OKLaboklab(71.19% -0.0102 0.0964)
OKLCHoklch(71.19% 0.097 96)
XYZxyz(33.5053, 36.2499, 14.4627)
Luminance0.3625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A258 #586AB4
analogous
#B47458 #B4A258 #98B458
triadic
#B4A258 #58B4A2 #A258B4
tetradic
#B4A258 #58B474 #586AB4 #B45898
square
#B4A258 #58B474 #586AB4 #B45898
split-complementary
#B4A258 #5898B4 #7458B4
monochromatic
#645A2D #8F7F40 #B4A258 #C7BA82 #DAD1AC

Accessibility & contrast

On white

2.55
#B4A258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#B4A258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A258
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A258#FFFFFF#000000##000000
##B4A2581.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F52
Deuteranopia (green-blind)
#B4A55B
Tritanopia (blue-blind)
#C09891
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b4a258;
/* rgb */ color: rgb(180, 162, 88);
/* oklch */ color: oklch(71.2% 0.097 96.0);
Tailwind
colors: {
  custom: {
    50: '#ccbd89',
    500: '#b4a258',
    950: '#000000',
  },
}
SCSS
$custom: #b4a258;
$custom-light: #ccbd89;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a258",
  "rgb": {
    "r": 180,
    "g": 162,
    "b": 88
  },
  "hsl": {
    "h": 48.261,
    "s": 38.017,
    "l": 52.549
  },
  "oklch": {
    "l": 0.71191,
    "c": 0.09698,
    "h": 96
  },
  "luminance": 0.36249
}

Semantic roles & 50–950 ramp

primary
#B4A258
secondary
#A0A8C8
accent
#71CE5A
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B4A258

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

Preview Lab → · Contrast checker → · Palette generator →

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