#B4942F#B4942F

#B4942F is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.8% C 0.121 H 90.7°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#B4942F
RGBrgb(180, 148, 47)
HSLhsl(46, 59%, 45%)
HSVhsv(46, 74%, 71%)
CMYKcmyk(0%, 17.8%, 73.9%, 29.4%)
CIE-LABlab(62.58, 1.43, 54.94)
CIE-LCHlch(62.58, 54.96, 88.51°)
OKLaboklab(67.8% -0.0015 0.1215)
OKLCHoklch(67.8% 0.122 90.7)
XYZxyz(29.9271, 31.0902, 7.1135)
Luminance0.3109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4942F #2F4FB4
analogous
#B4522F #B4942F #92B42F
triadic
#B4942F #2FB494 #942FB4
tetradic
#B4942F #2FB452 #2F4FB4 #B42F92
square
#B4942F #2FB452 #2F4FB4 #B42F92
split-complementary
#B4942F #2F92B4 #522FB4
monochromatic
#534416 #836C22 #B4942F #D1B24F #DEC780

Accessibility & contrast

On white

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

On black

7.22
#B4942F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4942F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4942F#FFFFFF#000000##000000
##B4942F1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921F
Deuteranopia (green-blind)
#AD9B34
Tritanopia (blue-blind)
#C38780
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b4942f;
/* rgb */ color: rgb(180, 148, 47);
/* oklch */ color: oklch(67.8% 0.121 90.7);
Tailwind
colors: {
  custom: {
    50: '#ceb36e',
    500: '#b4942f',
    950: '#000000',
  },
}
SCSS
$custom: #b4942f;
$custom-light: #ceb36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4942f",
  "rgb": {
    "r": 180,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 45.564,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67804,
    "c": 0.1215,
    "h": 90.7
  },
  "luminance": 0.31088
}

Semantic roles & 50–950 ramp

primary
#B4942F
secondary
#788BC7
accent
#6BE246
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#141008
muted
#837F7B

Preview Lab

Preview with #B4942F

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

Preview Lab → · Contrast checker → · Palette generator →

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