#B4B62D#B4B62D

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

Color values

HEX#B4B62D
RGBrgb(180, 182, 45)
HSLhsl(61, 60%, 45%)
HSVhsv(61, 75%, 71%)
CMYKcmyk(1.1%, 0%, 75.3%, 28.6%)
CIE-LABlab(71.79, -16.56, 64.40)
CIE-LCHlch(71.79, 66.50, 104.42°)
OKLaboklab(75.11% -0.0525 0.1412)
OKLCHoklch(75.11% 0.151 110.4)
XYZxyz(36.0253, 43.3497, 8.9517)
Luminance0.4335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B62D #2F2DB6
analogous
#B6742D #B4B62D #70B62D
triadic
#B4B62D #2DB4B6 #B62DB4
tetradic
#B4B62D #2DB674 #2F2DB6 #B62D70
square
#B4B62D #2DB674 #2F2DB6 #B62D70
split-complementary
#B4B62D #2D70B6 #742DB6
monochromatic
#535415 #838521 #B4B62D #D1D34D #DEDF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B62D#FFFFFF#000000##000000
##B4B62D1.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)
#C5AE0B
Deuteranopia (green-blind)
#C6B238
Tritanopia (blue-blind)
#C1AA9C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b4b62d;
/* rgb */ color: rgb(180, 182, 45);
/* oklch */ color: oklch(75.1% 0.151 110.4);
Tailwind
colors: {
  custom: {
    50: '#cecb71',
    500: '#b4b62d',
    950: '#000000',
  },
}
SCSS
$custom: #b4b62d;
$custom-light: #cecb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b62d",
  "rgb": {
    "r": 180,
    "g": 182,
    "b": 45
  },
  "hsl": {
    "h": 60.876,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75114,
    "c": 0.15063,
    "h": 110.4
  },
  "luminance": 0.43349
}

Semantic roles & 50–950 ramp

primary
#B4B62D
secondary
#7877C8
accent
#44E347
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B62D

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

Preview Lab → · Contrast checker → · Palette generator →

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