#B4A72E#B4A72E

#B4A72E is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.8% C 0.136 H 103.0°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#B4A72E
RGBrgb(180, 167, 46)
HSLhsl(54, 59%, 44%)
HSVhsv(54, 74%, 71%)
CMYKcmyk(0%, 7.2%, 74.4%, 29.4%)
CIE-LABlab(67.68, -8.79, 60.21)
CIE-LCHlch(67.68, 60.85, 98.30°)
OKLaboklab(71.84% -0.0306 0.1325)
OKLCHoklch(71.84% 0.136 103)
XYZxyz(33.1357, 37.5394, 8.0847)
Luminance0.3754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A72E #2E3BB4
analogous
#B4642E #B4A72E #7EB42E
triadic
#B4A72E #2EB4A7 #A72EB4
tetradic
#B4A72E #2EB464 #2E3BB4 #B42E7E
square
#B4A72E #2EB464 #2E3BB4 #B42E7E
split-complementary
#B4A72E #2E7EB4 #642EB4
monochromatic
#534D15 #837A22 #B4A72E #D2C54E #DED57E

Accessibility & contrast

On white

2.47
#B4A72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#B4A72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A72E
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A72E#FFFFFF#000000##000000
##B4A72E1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A117
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#C29B90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b4a72e;
/* rgb */ color: rgb(180, 167, 46);
/* oklch */ color: oklch(71.8% 0.136 103.0);
Tailwind
colors: {
  custom: {
    50: '#cec070',
    500: '#b4a72e',
    950: '#000000',
  },
}
SCSS
$custom: #b4a72e;
$custom-light: #cec070;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a72e",
  "rgb": {
    "r": 180,
    "g": 167,
    "b": 46
  },
  "hsl": {
    "h": 54.179,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71838,
    "c": 0.13598,
    "h": 103
  },
  "luminance": 0.37538
}

Semantic roles & 50–950 ramp

primary
#B4A72E
secondary
#777FC7
accent
#55E245
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A72E

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

Preview Lab → · Contrast checker → · Palette generator →

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