#B2942C#B2942C

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

Color values

HEX#B2942C
RGBrgb(178, 148, 44)
HSLhsl(47, 60%, 44%)
HSVhsv(47, 75%, 70%)
CMYKcmyk(0%, 16.9%, 75.3%, 30.2%)
CIE-LABlab(62.36, 0.40, 55.82)
CIE-LCHlch(62.36, 55.82, 89.59°)
OKLaboklab(67.58% -0.0046 0.1229)
OKLCHoklch(67.58% 0.123 92.2)
XYZxyz(29.4063, 30.8284, 6.7840)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2942C #2C4AB2
analogous
#B2512C #B2942C #8DB22C
triadic
#B2942C #2CB294 #942CB2
tetradic
#B2942C #2CB251 #2C4AB2 #B22C8D
square
#B2942C #2CB251 #2C4AB2 #B22C8D
split-complementary
#B2942C #2C8DB2 #512CB2
monochromatic
#504214 #816B20 #B2942C #D2B349 #DEC87A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2942C#FFFFFF#000000##000000
##B2942C1.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)
#A5921A
Deuteranopia (green-blind)
#AC9A32
Tritanopia (blue-blind)
#C18880
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b2942c;
/* rgb */ color: rgb(178, 148, 44);
/* oklch */ color: oklch(67.6% 0.123 92.2);
Tailwind
colors: {
  custom: {
    50: '#cdb36d',
    500: '#b2942c',
    950: '#000000',
  },
}
SCSS
$custom: #b2942c;
$custom-light: #cdb36d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2942c",
  "rgb": {
    "r": 178,
    "g": 148,
    "b": 44
  },
  "hsl": {
    "h": 46.567,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67576,
    "c": 0.12294,
    "h": 92.2
  },
  "luminance": 0.30827
}

Semantic roles & 50–950 ramp

primary
#B2942C
secondary
#7386C6
accent
#68E444
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #B2942C

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

Preview Lab → · Contrast checker → · Palette generator →

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