#B4B62B#B4B62B

#B4B62B is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.1% C 0.152 H 110.4°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#B4B62B
RGBrgb(180, 182, 43)
HSLhsl(61, 62%, 44%)
HSVhsv(61, 76%, 71%)
CMYKcmyk(1.1%, 0%, 76.4%, 28.6%)
CIE-LABlab(71.78, -16.65, 65.03)
CIE-LCHlch(71.78, 67.13, 104.36°)
OKLaboklab(75.1% -0.0529 0.1422)
OKLCHoklch(75.1% 0.152 110.4)
XYZxyz(35.9877, 43.3346, 8.7537)
Luminance0.4333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B62B #2D2BB6
analogous
#B6732B #B4B62B #6FB62B
triadic
#B4B62B #2BB4B6 #B62BB4
tetradic
#B4B62B #2BB673 #2D2BB6 #B62B6F
square
#B4B62B #2BB673 #2D2BB6 #B62B6F
split-complementary
#B4B62B #2B6FB6 #732BB6
monochromatic
#525314 #83841F #B4B62B #D2D44A #DEE07B

Accessibility & contrast

On white

2.17
#B4B62B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#B4B62B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B62B
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B62B#FFFFFF#000000##000000
##B4B62B1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE04
Deuteranopia (green-blind)
#C6B237
Tritanopia (blue-blind)
#C1AA9C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b4b62b;
/* rgb */ color: rgb(180, 182, 43);
/* oklch */ color: oklch(75.1% 0.152 110.4);
Tailwind
colors: {
  custom: {
    50: '#cecb70',
    500: '#b4b62b',
    950: '#000000',
  },
}
SCSS
$custom: #b4b62b;
$custom-light: #cecb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b62b",
  "rgb": {
    "r": 180,
    "g": 182,
    "b": 43
  },
  "hsl": {
    "h": 60.863,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.75103,
    "c": 0.15169,
    "h": 110.4
  },
  "luminance": 0.43334
}

Semantic roles & 50–950 ramp

primary
#B4B62B
secondary
#7675C8
accent
#43E545
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B62B

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

Preview Lab → · Contrast checker → · Palette generator →

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