#B5942C#B5942C

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

Color values

HEX#B5942C
RGBrgb(181, 148, 44)
HSLhsl(46, 61%, 44%)
HSVhsv(46, 76%, 71%)
CMYKcmyk(0%, 18.2%, 75.7%, 29%)
CIE-LABlab(62.67, 1.74, 56.22)
CIE-LCHlch(62.67, 56.24, 88.22°)
OKLaboklab(67.88% -0.001 0.1236)
OKLCHoklch(67.88% 0.124 90.4)
XYZxyz(30.1023, 31.1873, 6.8166)
Luminance0.3119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5942C #2C4DB5
analogous
#B54F2C #B5942C #92B52C
triadic
#B5942C #2CB594 #942CB5
tetradic
#B5942C #2CB54F #2C4DB5 #B52C92
square
#B5942C #2CB54F #2C4DB5 #B52C92
split-complementary
#B5942C #2C92B5 #4F2CB5
monochromatic
#534314 #846C20 #B5942C #D3B24B #DFC77C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5942C#FFFFFF#000000##000000
##B5942C1.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)
#A5921A
Deuteranopia (green-blind)
#AD9B32
Tritanopia (blue-blind)
#C48780
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b5942c;
/* rgb */ color: rgb(181, 148, 44);
/* oklch */ color: oklch(67.9% 0.124 90.4);
Tailwind
colors: {
  custom: {
    50: '#cfb36d',
    500: '#b5942c',
    950: '#000000',
  },
}
SCSS
$custom: #b5942c;
$custom-light: #cfb36d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5942c",
  "rgb": {
    "r": 181,
    "g": 148,
    "b": 44
  },
  "hsl": {
    "h": 45.547,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67885,
    "c": 0.12356,
    "h": 90.4
  },
  "luminance": 0.31185
}

Semantic roles & 50–950 ramp

primary
#B5942C
secondary
#7589C8
accent
#6AE444
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #B5942C

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

Preview Lab → · Contrast checker → · Palette generator →

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