#B4B162#B4B162

#B4B162 is a light, moderate yellow. Relative luminance 0.420; OKLCH L 74.5% C 0.102 H 106.7°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#B4B162
RGBrgb(180, 177, 98)
HSLhsl(58, 35%, 55%)
HSVhsv(58, 46%, 71%)
CMYKcmyk(0%, 1.7%, 45.6%, 29.4%)
CIE-LABlab(70.89, -10.28, 40.60)
CIE-LCHlch(70.89, 41.88, 104.20°)
OKLaboklab(74.55% -0.0292 0.0973)
OKLCHoklch(74.55% 0.102 106.7)
XYZxyz(36.7499, 42.0303, 17.7297)
Luminance0.4203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B162 #6265B4
analogous
#B48862 #B4B162 #8EB462
triadic
#B4B162 #62B4B1 #B162B4
tetradic
#B4B162 #62B488 #6265B4 #B4628E
square
#B4B162 #62B488 #6265B4 #B4628E
split-complementary
#B4B162 #628EB4 #8862B4
monochromatic
#696732 #939046 #B4B162 #C8C68B #DCDAB5

Accessibility & contrast

On white

2.23
#B4B162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#B4B162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B162
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B162#FFFFFF#000000##000000
##B4B1621.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAC5B
Deuteranopia (green-blind)
#BFAF66
Tritanopia (blue-blind)
#BEA89E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b4b162;
/* rgb */ color: rgb(180, 177, 98);
/* oklch */ color: oklch(74.5% 0.102 106.7);
Tailwind
colors: {
  custom: {
    50: '#ccc890',
    500: '#b4b162',
    950: '#000000',
  },
}
SCSS
$custom: #b4b162;
$custom-light: #ccc890;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b162",
  "rgb": {
    "r": 180,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 57.805,
    "s": 35.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.74549,
    "c": 0.10162,
    "h": 106.7
  },
  "luminance": 0.42029
}

Semantic roles & 50–950 ramp

primary
#B4B162
secondary
#A8A9CA
accent
#60CB5C
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130D
muted
#82827D

Preview Lab

Preview with #B4B162

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

Preview Lab → · Contrast checker → · Palette generator →

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