#B4A047#B4A047

#B4A047 is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.6% C 0.112 H 96.7°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B4A047
RGBrgb(180, 160, 71)
HSLhsl(49, 43%, 49%)
HSVhsv(49, 61%, 71%)
CMYKcmyk(0%, 11.1%, 60.6%, 29.4%)
CIE-LABlab(65.98, -3.62, 48.03)
CIE-LCHlch(65.98, 48.17, 94.31°)
OKLaboklab(70.55% -0.0131 0.1108)
OKLCHoklch(70.55% 0.112 96.7)
XYZxyz(32.5319, 35.3013, 11.0603)
Luminance0.3530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A047 #475BB4
analogous
#B46A47 #B4A047 #92B447
triadic
#B4A047 #47B4A0 #A047B4
tetradic
#B4A047 #47B46A #475BB4 #B44792
square
#B4A047 #47B46A #475BB4 #B44792
split-complementary
#B4A047 #4792B4 #6A47B4
monochromatic
#5C5224 #887936 #B4A047 #C7B771 #D8CD9D

Accessibility & contrast

On white

2.61
#B4A047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B4A047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A047
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A047#FFFFFF#000000##000000
##B4A0471.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3E
Deuteranopia (green-blind)
#B4A34B
Tritanopia (blue-blind)
#C1958D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b4a047;
/* rgb */ color: rgb(180, 160, 71);
/* oklch */ color: oklch(70.6% 0.112 96.7);
Tailwind
colors: {
  custom: {
    50: '#cdbb7e',
    500: '#b4a047',
    950: '#000000',
  },
}
SCSS
$custom: #b4a047;
$custom-light: #cdbb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a047",
  "rgb": {
    "r": 180,
    "g": 160,
    "b": 71
  },
  "hsl": {
    "h": 48.991,
    "s": 43.426,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70554,
    "c": 0.11157,
    "h": 96.7
  },
  "luminance": 0.353
}

Semantic roles & 50–950 ramp

primary
#B4A047
secondary
#929BC5
accent
#6CD355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #B4A047

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

Preview Lab → · Contrast checker → · Palette generator →

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