#B4A045#B4A045

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

Color values

HEX#B4A045
RGBrgb(180, 160, 69)
HSLhsl(49, 45%, 49%)
HSVhsv(49, 62%, 71%)
CMYKcmyk(0%, 11.1%, 61.7%, 29.4%)
CIE-LABlab(65.96, -3.76, 48.94)
CIE-LCHlch(65.96, 49.09, 94.40°)
OKLaboklab(70.53% -0.0137 0.1125)
OKLCHoklch(70.53% 0.113 97)
XYZxyz(32.4687, 35.2761, 10.7278)
Luminance0.3528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A045 #4559B4
analogous
#B46945 #B4A045 #91B445
triadic
#B4A045 #45B4A0 #A045B4
tetradic
#B4A045 #45B469 #4559B4 #B44591
square
#B4A045 #45B469 #4559B4 #B44591
split-complementary
#B4A045 #4591B4 #6945B4
monochromatic
#5C5123 #887934 #B4A045 #C8B86F #D9CD9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4A045#FFFFFF#000000##000000
##B4A0451.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)
#AF9C3B
Deuteranopia (green-blind)
#B4A349
Tritanopia (blue-blind)
#C1958C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b4a045;
/* rgb */ color: rgb(180, 160, 69);
/* oklch */ color: oklch(70.5% 0.113 97.0);
Tailwind
colors: {
  custom: {
    50: '#cdbb7c',
    500: '#b4a045',
    950: '#000000',
  },
}
SCSS
$custom: #b4a045;
$custom-light: #cdbb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a045",
  "rgb": {
    "r": 180,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 49.189,
    "s": 44.578,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70532,
    "c": 0.11331,
    "h": 97
  },
  "luminance": 0.35275
}

Semantic roles & 50–950 ramp

primary
#B4A045
secondary
#909AC5
accent
#6BD454
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14110A
muted
#83807C

Preview Lab

Preview with #B4A045

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

Preview Lab → · Contrast checker → · Palette generator →

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