#B4942A#B4942A

#B4942A is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.8% C 0.125 H 91.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#B4942A
RGBrgb(180, 148, 42)
HSLhsl(46, 62%, 44%)
HSVhsv(46, 77%, 71%)
CMYKcmyk(0%, 17.8%, 76.7%, 29.4%)
CIE-LABlab(62.55, 1.21, 56.82)
CIE-LCHlch(62.55, 56.83, 88.78°)
OKLaboklab(67.77% -0.0026 0.1245)
OKLCHoklch(67.77% 0.125 91.2)
XYZxyz(29.8319, 31.0521, 6.6124)
Luminance0.3105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4942A #2A4AB4
analogous
#B44F2A #B4942A #8FB42A
triadic
#B4942A #2AB494 #942AB4
tetradic
#B4942A #2AB44F #2A4AB4 #B42A8F
square
#B4942A #2AB44F #2A4AB4 #B42A8F
split-complementary
#B4942A #2A8FB4 #4F2AB4
monochromatic
#514213 #826B1E #B4942A #D4B347 #E0C879

Accessibility & contrast

On white

2.91
#B4942A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#B4942A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4942A
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4942A#FFFFFF#000000##000000
##B4942A1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59217
Deuteranopia (green-blind)
#AD9B30
Tritanopia (blue-blind)
#C3877F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b4942a;
/* rgb */ color: rgb(180, 148, 42);
/* oklch */ color: oklch(67.8% 0.125 91.2);
Tailwind
colors: {
  custom: {
    50: '#cfb36c',
    500: '#b4942a',
    950: '#000000',
  },
}
SCSS
$custom: #b4942a;
$custom-light: #cfb36c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4942a",
  "rgb": {
    "r": 180,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 46.087,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67768,
    "c": 0.12451,
    "h": 91.2
  },
  "luminance": 0.3105
}

Semantic roles & 50–950 ramp

primary
#B4942A
secondary
#7286C8
accent
#68E543
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #B4942A

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

Preview Lab → · Contrast checker → · Palette generator →

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