#B1942D#B1942D

#B1942D is a light, vivid yellow. Relative luminance 0.307; OKLCH L 67.5% C 0.122 H 92.6°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#B1942D
RGBrgb(177, 148, 45)
HSLhsl(47, 59%, 44%)
HSVhsv(47, 75%, 69%)
CMYKcmyk(0%, 16.4%, 74.6%, 30.6%)
CIE-LABlab(62.27, -0.00, 55.31)
CIE-LCHlch(62.27, 55.31, 90.00°)
OKLaboklab(67.48% -0.0056 0.122)
OKLCHoklch(67.48% 0.122 92.6)
XYZxyz(29.1966, 30.7181, 6.8735)
Luminance0.3072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1942D #2D4AB1
analogous
#B1522D #B1942D #8CB12D
triadic
#B1942D #2DB194 #942DB1
tetradic
#B1942D #2DB152 #2D4AB1 #B12D8C
square
#B1942D #2DB152 #2D4AB1 #B12D8C
split-complementary
#B1942D #2D8CB1 #522DB1
monochromatic
#4F4214 #806B21 #B1942D #D1B34A #DDC87B

Accessibility & contrast

On white

2.94
#B1942D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#B1942D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1942D
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1942D#FFFFFF#000000##000000
##B1942D1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4921C
Deuteranopia (green-blind)
#AC9A33
Tritanopia (blue-blind)
#C08880
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b1942d;
/* rgb */ color: rgb(177, 148, 45);
/* oklch */ color: oklch(67.5% 0.122 92.6);
Tailwind
colors: {
  custom: {
    50: '#ccb36d',
    500: '#b1942d',
    950: '#000000',
  },
}
SCSS
$custom: #b1942d;
$custom-light: #ccb36d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1942d",
  "rgb": {
    "r": 177,
    "g": 148,
    "b": 45
  },
  "hsl": {
    "h": 46.818,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67481,
    "c": 0.12214,
    "h": 92.6
  },
  "luminance": 0.30716
}

Semantic roles & 50–950 ramp

primary
#B1942D
secondary
#7486C6
accent
#68E345
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #B1942D

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

Preview Lab → · Contrast checker → · Palette generator →

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