#B5942F#B5942F

#B5942F is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.9% C 0.122 H 90.1°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#B5942F
RGBrgb(181, 148, 47)
HSLhsl(45, 59%, 45%)
HSVhsv(45, 74%, 71%)
CMYKcmyk(0%, 18.2%, 74%, 29%)
CIE-LABlab(62.69, 1.88, 55.07)
CIE-LCHlch(62.69, 55.10, 88.05°)
OKLaboklab(67.91% -0.0002 0.1217)
OKLCHoklch(67.91% 0.122 90.1)
XYZxyz(30.1608, 31.2107, 7.1244)
Luminance0.3121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5942F #2F50B5
analogous
#B5512F #B5942F #93B52F
triadic
#B5942F #2FB594 #942FB5
tetradic
#B5942F #2FB551 #2F50B5 #B52F93
square
#B5942F #2FB551 #2F50B5 #B52F93
split-complementary
#B5942F #2F93B5 #512FB5
monochromatic
#544516 #846C22 #B5942F #D1B250 #DEC780

Accessibility & contrast

On white

2.90
#B5942F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#B5942F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5942F
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5942F#FFFFFF#000000##000000
##B5942F1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5942f;
/* rgb */ color: rgb(181, 148, 47);
/* oklch */ color: oklch(67.9% 0.122 90.1);
Tailwind
colors: {
  custom: {
    50: '#cfb36e',
    500: '#b5942f',
    950: '#000000',
  },
}
SCSS
$custom: #b5942f;
$custom-light: #cfb36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5942f",
  "rgb": {
    "r": 181,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 45.224,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67907,
    "c": 0.12173,
    "h": 90.1
  },
  "luminance": 0.31209
}

Semantic roles & 50–950 ramp

primary
#B5942F
secondary
#798CC7
accent
#6CE246
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#141008
muted
#837F7B

Preview Lab

Preview with #B5942F

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

Preview Lab → · Contrast checker → · Palette generator →

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