#B4B458#B4B458

#B4B458 is a light, moderate yellow. Relative luminance 0.430; OKLCH L 75.1% C 0.115 H 108.9°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#B4B458
RGBrgb(180, 180, 88)
HSLhsl(60, 38%, 53%)
HSVhsv(60, 51%, 71%)
CMYKcmyk(0%, 0%, 51.1%, 29.4%)
CIE-LABlab(71.59, -12.77, 46.37)
CIE-LCHlch(71.59, 48.10, 105.40°)
OKLaboklab(75.07% -0.0373 0.1092)
OKLCHoklch(75.07% 0.115 108.9)
XYZxyz(36.9060, 43.0513, 15.5962)
Luminance0.4305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B458 #5858B4
analogous
#B48658 #B4B458 #86B458
triadic
#B4B458 #58B4B4 #B458B4
tetradic
#B4B458 #58B486 #5858B4 #B45886
square
#B4B458 #58B486 #5858B4 #B45886
split-complementary
#B4B458 #5886B4 #8658B4
monochromatic
#64642D #8F8F40 #B4B458 #C7C782 #DADAAC

Accessibility & contrast

On white

2.19
#B4B458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#B4B458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B458
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B458#FFFFFF#000000##000000
##B4B4581.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AE4F
Deuteranopia (green-blind)
#C2B15D
Tritanopia (blue-blind)
#BFAA9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4b458;
/* rgb */ color: rgb(180, 180, 88);
/* oklch */ color: oklch(75.1% 0.115 108.9);
Tailwind
colors: {
  custom: {
    50: '#ccca8a',
    500: '#b4b458',
    950: '#000000',
  },
}
SCSS
$custom: #b4b458;
$custom-light: #ccca8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b458",
  "rgb": {
    "r": 180,
    "g": 180,
    "b": 88
  },
  "hsl": {
    "h": 60,
    "s": 38.017,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75065,
    "c": 0.11537,
    "h": 108.9
  },
  "luminance": 0.4305
}

Semantic roles & 50–950 ramp

primary
#B4B458
secondary
#A0A0C8
accent
#5ACE5A
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B4B458

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

Preview Lab → · Contrast checker → · Palette generator →

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