#B4B72D#B4B72D

#B4B72D is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.3% C 0.152 H 110.8°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#B4B72D
RGBrgb(180, 183, 45)
HSLhsl(61, 61%, 45%)
HSVhsv(61, 75%, 72%)
CMYKcmyk(1.6%, 0%, 75.4%, 28.2%)
CIE-LABlab(72.07, -17.07, 64.66)
CIE-LCHlch(72.07, 66.87, 104.79°)
OKLaboklab(75.34% -0.0539 0.1417)
OKLCHoklch(75.34% 0.152 110.8)
XYZxyz(36.2308, 43.7607, 9.0203)
Luminance0.4376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B72D #302DB7
analogous
#B7752D #B4B72D #6FB72D
triadic
#B4B72D #2DB4B7 #B72DB4
tetradic
#B4B72D #2DB775 #302DB7 #B72D6F
square
#B4B72D #2DB775 #302DB7 #B72D6F
split-complementary
#B4B72D #2D6FB7 #752DB7
monochromatic
#535515 #848621 #B4B72D #D1D34E #DDDF7F

Accessibility & contrast

On white

2.15
#B4B72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#B4B72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B72D
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B72D#FFFFFF#000000##000000
##B4B72D1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF0A
Deuteranopia (green-blind)
#C7B239
Tritanopia (blue-blind)
#C1AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b72d;
/* rgb */ color: rgb(180, 183, 45);
/* oklch */ color: oklch(75.3% 0.152 110.8);
Tailwind
colors: {
  custom: {
    50: '#cecc71',
    500: '#b4b72d',
    950: '#000000',
  },
}
SCSS
$custom: #b4b72d;
$custom-light: #cecc71;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b72d",
  "rgb": {
    "r": 180,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 61.304,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75336,
    "c": 0.15164,
    "h": 110.8
  },
  "luminance": 0.4376
}

Semantic roles & 50–950 ramp

primary
#B4B72D
secondary
#7978C8
accent
#44E448
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B72D

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

Preview Lab → · Contrast checker → · Palette generator →

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