#B4A54F#B4A54F

#B4A54F is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.7% C 0.109 H 99.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B4A54F
RGBrgb(180, 165, 79)
HSLhsl(51, 40%, 51%)
HSVhsv(51, 56%, 71%)
CMYKcmyk(0%, 8.3%, 56.1%, 29.4%)
CIE-LABlab(67.41, -5.68, 45.85)
CIE-LCHlch(67.41, 46.20, 97.06°)
OKLaboklab(71.71% -0.018 0.1071)
OKLCHoklch(71.71% 0.109 99.6)
XYZxyz(33.6900, 37.1794, 12.7973)
Luminance0.3718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A54F #4F5EB4
analogous
#B4724F #B4A54F #90B44F
triadic
#B4A54F #4FB4A5 #A54FB4
tetradic
#B4A54F #4FB472 #4F5EB4 #B44F90
square
#B4A54F #4FB472 #4F5EB4 #B44F90
split-complementary
#B4A54F #4F90B4 #724FB4
monochromatic
#605829 #8B7F3B #B4A54F #C6BB7A #D9D1A5

Accessibility & contrast

On white

2.49
#B4A54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B4A54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A54F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A54F#FFFFFF#000000##000000
##B4A54F1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A147
Deuteranopia (green-blind)
#B7A753
Tritanopia (blue-blind)
#C09B92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b4a54f;
/* rgb */ color: rgb(180, 165, 79);
/* oklch */ color: oklch(71.7% 0.109 99.6);
Tailwind
colors: {
  custom: {
    50: '#cdbf83',
    500: '#b4a54f',
    950: '#000000',
  },
}
SCSS
$custom: #b4a54f;
$custom-light: #cdbf83;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a54f",
  "rgb": {
    "r": 180,
    "g": 165,
    "b": 79
  },
  "hsl": {
    "h": 51.089,
    "s": 40.239,
    "l": 50.784
  },
  "oklch": {
    "l": 0.71712,
    "c": 0.10859,
    "h": 99.6
  },
  "luminance": 0.37178
}

Semantic roles & 50–950 ramp

primary
#B4A54F
secondary
#99A0C6
accent
#6AD058
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B4A54F

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

Preview Lab → · Contrast checker → · Palette generator →

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