#B4B062#B4B062

#B4B062 is a light, moderate yellow. Relative luminance 0.416; OKLCH L 74.3% C 0.100 H 106.0°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#B4B062
RGBrgb(180, 176, 98)
HSLhsl(57, 35%, 55%)
HSVhsv(57, 46%, 71%)
CMYKcmyk(0%, 2.2%, 45.6%, 29.4%)
CIE-LABlab(70.62, -9.75, 40.27)
CIE-LCHlch(70.62, 41.43, 103.62°)
OKLaboklab(74.33% -0.0277 0.0966)
OKLCHoklch(74.33% 0.1 106)
XYZxyz(36.5531, 41.6368, 17.6641)
Luminance0.4164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B062 #6266B4
analogous
#B48762 #B4B062 #8FB462
triadic
#B4B062 #62B4B0 #B062B4
tetradic
#B4B062 #62B487 #6266B4 #B4628F
square
#B4B062 #62B487 #6266B4 #B4628F
split-complementary
#B4B062 #628FB4 #8762B4
monochromatic
#696732 #938F46 #B4B062 #C8C58B #DCDAB5

Accessibility & contrast

On white

2.25
#B4B062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#B4B062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B062
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B062#FFFFFF#000000##000000
##B4B0621.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAB5C
Deuteranopia (green-blind)
#BEAE66
Tritanopia (blue-blind)
#BEA79D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b4b062;
/* rgb */ color: rgb(180, 176, 98);
/* oklch */ color: oklch(74.3% 0.100 106.0);
Tailwind
colors: {
  custom: {
    50: '#ccc790',
    500: '#b4b062',
    950: '#000000',
  },
}
SCSS
$custom: #b4b062;
$custom-light: #ccc790;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b062",
  "rgb": {
    "r": 180,
    "g": 176,
    "b": 98
  },
  "hsl": {
    "h": 57.073,
    "s": 35.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.74333,
    "c": 0.10049,
    "h": 106
  },
  "luminance": 0.41636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4B062

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

Preview Lab → · Contrast checker → · Palette generator →

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