#B4A962#B4A962

#B4A962 is a light, moderate yellow. Relative luminance 0.390; OKLCH L 72.8% C 0.093 H 100.6°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#B4A962
RGBrgb(180, 169, 98)
HSLhsl(52, 35%, 55%)
HSVhsv(52, 46%, 71%)
CMYKcmyk(0%, 6.1%, 45.6%, 29.4%)
CIE-LABlab(68.72, -6.07, 37.92)
CIE-LCHlch(68.72, 38.41, 99.10°)
OKLaboklab(72.83% -0.0171 0.0914)
OKLCHoklch(72.83% 0.093 100.6)
XYZxyz(35.2158, 38.9622, 17.2183)
Luminance0.3896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A962 #626DB4
analogous
#B48062 #B4A962 #96B462
triadic
#B4A962 #62B4A9 #A962B4
tetradic
#B4A962 #62B480 #626DB4 #B46296
square
#B4A962 #62B480 #626DB4 #B46296
split-complementary
#B4A962 #6296B4 #8062B4
monochromatic
#696232 #938846 #B4A962 #C8C08B #DCD6B5

Accessibility & contrast

On white

2.39
#B4A962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#B4A962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A962
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A962#FFFFFF#000000##000000
##B4A9621.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A55C
Deuteranopia (green-blind)
#B8AA65
Tritanopia (blue-blind)
#BFA098
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4a962;
/* rgb */ color: rgb(180, 169, 98);
/* oklch */ color: oklch(72.8% 0.093 100.6);
Tailwind
colors: {
  custom: {
    50: '#ccc290',
    500: '#b4a962',
    950: '#000000',
  },
}
SCSS
$custom: #b4a962;
$custom-light: #ccc290;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a962",
  "rgb": {
    "r": 180,
    "g": 169,
    "b": 98
  },
  "hsl": {
    "h": 51.951,
    "s": 35.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.72828,
    "c": 0.09295,
    "h": 100.6
  },
  "luminance": 0.38961
}

Semantic roles & 50–950 ramp

primary
#B4A962
secondary
#A8ACCA
accent
#6BCB5C
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B4A962

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

Preview Lab → · Contrast checker → · Palette generator →

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