#B4942E#B4942E

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

Color values

HEX#B4942E
RGBrgb(180, 148, 46)
HSLhsl(46, 59%, 44%)
HSVhsv(46, 74%, 71%)
CMYKcmyk(0%, 17.8%, 74.4%, 29.4%)
CIE-LABlab(62.58, 1.39, 55.32)
CIE-LCHlch(62.58, 55.34, 88.56°)
OKLaboklab(67.8% -0.0017 0.1221)
OKLCHoklch(67.8% 0.122 90.8)
XYZxyz(29.9071, 31.0822, 7.0085)
Luminance0.3108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4942E #2E4EB4
analogous
#B4512E #B4942E #91B42E
triadic
#B4942E #2EB494 #942EB4
tetradic
#B4942E #2EB451 #2E4EB4 #B42E91
square
#B4942E #2EB451 #2E4EB4 #B42E91
split-complementary
#B4942E #2E91B4 #512EB4
monochromatic
#534415 #836C22 #B4942E #D2B24E #DEC77E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4942E#FFFFFF#000000##000000
##B4942E1.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)
#A5921E
Deuteranopia (green-blind)
#AD9B34
Tritanopia (blue-blind)
#C38780
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b4942e;
/* rgb */ color: rgb(180, 148, 46);
/* oklch */ color: oklch(67.8% 0.122 90.8);
Tailwind
colors: {
  custom: {
    50: '#ceb36e',
    500: '#b4942e',
    950: '#000000',
  },
}
SCSS
$custom: #b4942e;
$custom-light: #ceb36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4942e",
  "rgb": {
    "r": 180,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 45.672,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67796,
    "c": 0.12212,
    "h": 90.8
  },
  "luminance": 0.3108
}

Semantic roles & 50–950 ramp

primary
#B4942E
secondary
#778AC7
accent
#6BE245
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #B4942E

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

Preview Lab → · Contrast checker → · Palette generator →

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