#B4A01E#B4A01E

#B4A01E is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.138 H 99.7°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#B4A01E
RGBrgb(180, 160, 30)
HSLhsl(52, 71%, 41%)
HSVhsv(52, 83%, 71%)
CMYKcmyk(0%, 11.1%, 83.3%, 29.4%)
CIE-LABlab(65.70, -5.68, 63.49)
CIE-LCHlch(65.70, 63.74, 95.11°)
OKLaboklab(70.24% -0.0233 0.1364)
OKLCHoklch(70.24% 0.138 99.7)
XYZxyz(31.6292, 34.9403, 6.3062)
Luminance0.3494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A01E #1E32B4
analogous
#B4551E #B4A01E #7DB41E
triadic
#B4A01E #1EB4A0 #A01EB4
tetradic
#B4A01E #1EB455 #1E32B4 #B41E7D
square
#B4A01E #1EB455 #1E32B4 #B41E7D
split-complementary
#B4A01E #1E7DB4 #551EB4
monochromatic
#4B430D #807115 #B4A01E #DDC632 #E6D567

Accessibility & contrast

On white

2.63
#B4A01E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#B4A01E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A01E
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A01E#FFFFFF#000000##000000
##B4A01E1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B6A329
Tritanopia (blue-blind)
#C39389
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b4a01e;
/* rgb */ color: rgb(180, 160, 30);
/* oklch */ color: oklch(70.2% 0.138 99.7);
Tailwind
colors: {
  custom: {
    50: '#cfbb68',
    500: '#b4a01e',
    950: '#000000',
  },
}
SCSS
$custom: #b4a01e;
$custom-light: #cfbb68;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a01e",
  "rgb": {
    "r": 180,
    "g": 160,
    "b": 30
  },
  "hsl": {
    "h": 52,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70242,
    "c": 0.13834,
    "h": 99.7
  },
  "luminance": 0.34939
}

Semantic roles & 50–950 ramp

primary
#B4A01E
secondary
#6371CB
accent
#52EE3A
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #B4A01E

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

Preview Lab → · Contrast checker → · Palette generator →

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