#B5942E#B5942E

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

Color values

HEX#B5942E
RGBrgb(181, 148, 46)
HSLhsl(45, 59%, 45%)
HSVhsv(45, 75%, 71%)
CMYKcmyk(0%, 18.2%, 74.6%, 29%)
CIE-LABlab(62.68, 1.83, 55.46)
CIE-LCHlch(62.68, 55.49, 88.11°)
OKLaboklab(67.9% -0.0005 0.1224)
OKLCHoklch(67.9% 0.122 90.2)
XYZxyz(30.1408, 31.2027, 7.0194)
Luminance0.3120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5942E #2E4FB5
analogous
#B5502E #B5942E #93B52E
triadic
#B5942E #2EB594 #942EB5
tetradic
#B5942E #2EB550 #2E4FB5 #B52E93
square
#B5942E #2EB550 #2E4FB5 #B52E93
split-complementary
#B5942E #2E93B5 #502EB5
monochromatic
#534415 #846C22 #B5942E #D2B24E #DEC77F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5942E#FFFFFF#000000##000000
##B5942E1.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)
#A5921E
Deuteranopia (green-blind)
#AD9B34
Tritanopia (blue-blind)
#C48780
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b5942e;
/* rgb */ color: rgb(181, 148, 46);
/* oklch */ color: oklch(67.9% 0.122 90.2);
Tailwind
colors: {
  custom: {
    50: '#cfb36e',
    500: '#b5942e',
    950: '#000000',
  },
}
SCSS
$custom: #b5942e;
$custom-light: #cfb36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5942e",
  "rgb": {
    "r": 181,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 45.333,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.679,
    "c": 0.12235,
    "h": 90.2
  },
  "luminance": 0.31201
}

Semantic roles & 50–950 ramp

primary
#B5942E
secondary
#788BC7
accent
#6CE345
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #B5942E

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

Preview Lab → · Contrast checker → · Palette generator →

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