#B4A43F#B4A43F

#B4A43F is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.3% C 0.122 H 100.3°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B4A43F
RGBrgb(180, 164, 63)
HSLhsl(52, 48%, 48%)
HSVhsv(52, 65%, 71%)
CMYKcmyk(0%, 8.9%, 65%, 29.4%)
CIE-LABlab(66.99, -6.29, 52.75)
CIE-LCHlch(66.99, 53.13, 96.80°)
OKLaboklab(71.33% -0.0217 0.1197)
OKLCHoklch(71.33% 0.122 100.3)
XYZxyz(32.9964, 36.6145, 10.0309)
Luminance0.3661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A43F #3F4FB4
analogous
#B46A3F #B4A43F #89B43F
triadic
#B4A43F #3FB4A4 #A43FB4
tetradic
#B4A43F #3FB46A #3F4FB4 #B43F89
square
#B4A43F #3FB46A #3F4FB4 #B43F89
split-complementary
#B4A43F #3F89B4 #6A3FB4
monochromatic
#59511F #877B2F #B4A43F #CABC67 #DAD094

Accessibility & contrast

On white

2.52
#B4A43F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#B4A43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A43F
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A43F#FFFFFF#000000##000000
##B4A43F1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F33
Deuteranopia (green-blind)
#B7A645
Tritanopia (blue-blind)
#C1998F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b4a43f;
/* rgb */ color: rgb(180, 164, 63);
/* oklch */ color: oklch(71.3% 0.122 100.3);
Tailwind
colors: {
  custom: {
    50: '#cdbe79',
    500: '#b4a43f',
    950: '#000000',
  },
}
SCSS
$custom: #b4a43f;
$custom-light: #cdbe79;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a43f",
  "rgb": {
    "r": 180,
    "g": 164,
    "b": 63
  },
  "hsl": {
    "h": 51.795,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71326,
    "c": 0.12164,
    "h": 100.3
  },
  "luminance": 0.36613
}

Semantic roles & 50–950 ramp

primary
#B4A43F
secondary
#8A92C5
accent
#63D850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A43F

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

Preview Lab → · Contrast checker → · Palette generator →

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