#B4A02D#B4A02D

#B4A02D is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.3% C 0.131 H 99.0°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#B4A02D
RGBrgb(180, 160, 45)
HSLhsl(51, 60%, 44%)
HSVhsv(51, 75%, 71%)
CMYKcmyk(0%, 11.1%, 75%, 29.4%)
CIE-LABlab(65.78, -5.13, 58.77)
CIE-LCHlch(65.78, 58.99, 94.99°)
OKLaboklab(70.33% -0.0204 0.1292)
OKLCHoklch(70.33% 0.131 99)
XYZxyz(31.8684, 35.0360, 7.5661)
Luminance0.3503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A02D #2D41B4
analogous
#B45D2D #B4A02D #85B42D
triadic
#B4A02D #2DB4A0 #A02DB4
tetradic
#B4A02D #2DB45D #2D41B4 #B42D85
square
#B4A02D #2DB45D #2D41B4 #B42D85
split-complementary
#B4A02D #2D85B4 #5D2DB4
monochromatic
#524915 #837421 #B4A02D #D2BE4C #DED07D

Accessibility & contrast

On white

2.62
#B4A02D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#B4A02D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A02D
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A02D#FFFFFF#000000##000000
##B4A02D1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C18
Deuteranopia (green-blind)
#B5A335
Tritanopia (blue-blind)
#C2948A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b4a02d;
/* rgb */ color: rgb(180, 160, 45);
/* oklch */ color: oklch(70.3% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#cebb6f',
    500: '#b4a02d',
    950: '#000000',
  },
}
SCSS
$custom: #b4a02d;
$custom-light: #cebb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a02d",
  "rgb": {
    "r": 180,
    "g": 160,
    "b": 45
  },
  "hsl": {
    "h": 51.111,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70325,
    "c": 0.13083,
    "h": 99
  },
  "luminance": 0.35034
}

Semantic roles & 50–950 ramp

primary
#B4A02D
secondary
#7682C7
accent
#5CE345
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B4A02D

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

Preview Lab → · Contrast checker → · Palette generator →

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