#B2942D#B2942D

#B2942D is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.6% C 0.122 H 92.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B2942D
RGBrgb(178, 148, 45)
HSLhsl(46, 60%, 44%)
HSVhsv(46, 75%, 70%)
CMYKcmyk(0%, 16.9%, 74.7%, 30.2%)
CIE-LABlab(62.37, 0.45, 55.44)
CIE-LCHlch(62.37, 55.44, 89.54°)
OKLaboklab(67.58% -0.0044 0.1223)
OKLCHoklch(67.58% 0.122 92.1)
XYZxyz(29.4253, 30.8360, 6.8842)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2942D #2D4BB2
analogous
#B2512D #B2942D #8DB22D
triadic
#B2942D #2DB294 #942DB2
tetradic
#B2942D #2DB251 #2D4BB2 #B22D8D
square
#B2942D #2DB251 #2D4BB2 #B22D8D
split-complementary
#B2942D #2D8DB2 #512DB2
monochromatic
#504314 #816B21 #B2942D #D1B34B #DEC87C

Accessibility & contrast

On white

2.93
#B2942D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B2942D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2942D
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2942D#FFFFFF#000000##000000
##B2942D1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921C
Deuteranopia (green-blind)
#AC9A33
Tritanopia (blue-blind)
#C18880
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b2942d;
/* rgb */ color: rgb(178, 148, 45);
/* oklch */ color: oklch(67.6% 0.122 92.1);
Tailwind
colors: {
  custom: {
    50: '#cdb36d',
    500: '#b2942d',
    950: '#000000',
  },
}
SCSS
$custom: #b2942d;
$custom-light: #cdb36d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2942d",
  "rgb": {
    "r": 178,
    "g": 148,
    "b": 45
  },
  "hsl": {
    "h": 46.466,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67584,
    "c": 0.12233,
    "h": 92.1
  },
  "luminance": 0.30834
}

Semantic roles & 50–950 ramp

primary
#B2942D
secondary
#7587C6
accent
#69E345
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #B2942D

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

Preview Lab → · Contrast checker → · Palette generator →

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