#B4B758#B4B758

#B4B758 is a light, moderate yellow. Relative luminance 0.443; OKLCH L 75.7% C 0.119 H 110.6°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#B4B758
RGBrgb(180, 183, 88)
HSLhsl(62, 40%, 53%)
HSVhsv(62, 52%, 72%)
CMYKcmyk(1.6%, 0%, 51.9%, 28.2%)
CIE-LABlab(72.41, -14.31, 47.34)
CIE-LCHlch(72.41, 49.45, 106.82°)
OKLaboklab(75.72% -0.0417 0.1113)
OKLCHoklch(75.72% 0.119 110.6)
XYZxyz(37.5182, 44.2757, 15.8003)
Luminance0.4427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B758 #5B58B7
analogous
#B78A58 #B4B758 #84B758
triadic
#B4B758 #58B4B7 #B758B4
tetradic
#B4B758 #58B78A #5B58B7 #B75884
square
#B4B758 #58B78A #5B58B7 #B75884
split-complementary
#B4B758 #5884B7 #8A58B7
monochromatic
#66682D #90933F #B4B758 #C7C983 #DADCAE

Accessibility & contrast

On white

2.13
#B4B758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#B4B758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B758
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B758#FFFFFF#000000##000000
##B4B7581.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B04F
Deuteranopia (green-blind)
#C4B35D
Tritanopia (blue-blind)
#BFADA2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b4b758;
/* rgb */ color: rgb(180, 183, 88);
/* oklch */ color: oklch(75.7% 0.119 110.6);
Tailwind
colors: {
  custom: {
    50: '#cccc8a',
    500: '#b4b758',
    950: '#000000',
  },
}
SCSS
$custom: #b4b758;
$custom-light: #cccc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b758",
  "rgb": {
    "r": 180,
    "g": 183,
    "b": 88
  },
  "hsl": {
    "h": 61.895,
    "s": 39.749,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75721,
    "c": 0.11882,
    "h": 110.6
  },
  "luminance": 0.44275
}

Semantic roles & 50–950 ramp

primary
#B4B758
secondary
#A2A1CA
accent
#58D05C
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B4B758

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

Preview Lab → · Contrast checker → · Palette generator →

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