#B4A13F#B4A13F

#B4A13F is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.7% C 0.119 H 98.3°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#B4A13F
RGBrgb(180, 161, 63)
HSLhsl(50, 48%, 48%)
HSVhsv(50, 65%, 71%)
CMYKcmyk(0%, 10.6%, 65%, 29.4%)
CIE-LABlab(66.18, -4.70, 51.89)
CIE-LCHlch(66.18, 52.10, 95.17°)
OKLaboklab(70.68% -0.0171 0.1179)
OKLCHoklch(70.68% 0.119 98.3)
XYZxyz(32.4659, 35.5534, 9.8541)
Luminance0.3555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A13F #3F52B4
analogous
#B4663F #B4A13F #8DB43F
triadic
#B4A13F #3FB4A1 #A13FB4
tetradic
#B4A13F #3FB466 #3F52B4 #B43F8D
square
#B4A13F #3FB466 #3F52B4 #B43F8D
split-complementary
#B4A13F #3F8DB4 #663FB4
monochromatic
#59501F #87782F #B4A13F #CABA67 #DACE94

Accessibility & contrast

On white

2.59
#B4A13F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#B4A13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A13F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A13F#FFFFFF#000000##000000
##B4A13F1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D33
Deuteranopia (green-blind)
#B5A444
Tritanopia (blue-blind)
#C2968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b4a13f;
/* rgb */ color: rgb(180, 161, 63);
/* oklch */ color: oklch(70.7% 0.119 98.3);
Tailwind
colors: {
  custom: {
    50: '#cdbc79',
    500: '#b4a13f',
    950: '#000000',
  },
}
SCSS
$custom: #b4a13f;
$custom-light: #cdbc79;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a13f",
  "rgb": {
    "r": 180,
    "g": 161,
    "b": 63
  },
  "hsl": {
    "h": 50.256,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70684,
    "c": 0.11911,
    "h": 98.3
  },
  "luminance": 0.35552
}

Semantic roles & 50–950 ramp

primary
#B4A13F
secondary
#8A93C5
accent
#66D850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A13F

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

Preview Lab → · Contrast checker → · Palette generator →

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