#B2912C#B2912C

#B2912C is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.9% C 0.121 H 90.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#B2912C
RGBrgb(178, 145, 44)
HSLhsl(45, 60%, 44%)
HSVhsv(45, 75%, 70%)
CMYKcmyk(0%, 18.5%, 75.3%, 30.2%)
CIE-LABlab(61.57, 2.04, 55.06)
CIE-LCHlch(61.57, 55.09, 87.88°)
OKLaboklab(66.95% 0.0001 0.1212)
OKLCHoklch(66.95% 0.121 90)
XYZxyz(28.9418, 29.8995, 6.6292)
Luminance0.2990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2912C #2C4DB2
analogous
#B24E2C #B2912C #90B22C
triadic
#B2912C #2CB291 #912CB2
tetradic
#B2912C #2CB24E #2C4DB2 #B22C90
square
#B2912C #2CB24E #2C4DB2 #B22C90
split-complementary
#B2912C #2C90B2 #4E2CB2
monochromatic
#504114 #816920 #B2912C #D2B049 #DEC67A

Accessibility & contrast

On white

3.01
#B2912C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#B2912C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B2912C
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2912C#FFFFFF#000000##000000
##B2912C1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F1B
Deuteranopia (green-blind)
#AA9931
Tritanopia (blue-blind)
#C1847D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b2912c;
/* rgb */ color: rgb(178, 145, 44);
/* oklch */ color: oklch(66.9% 0.121 90.0);
Tailwind
colors: {
  custom: {
    50: '#cdb06c',
    500: '#b2912c',
    950: '#000000',
  },
}
SCSS
$custom: #b2912c;
$custom-light: #cdb06c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2912c",
  "rgb": {
    "r": 178,
    "g": 145,
    "b": 44
  },
  "hsl": {
    "h": 45.224,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66949,
    "c": 0.12123,
    "h": 90
  },
  "luminance": 0.29898
}

Semantic roles & 50–950 ramp

primary
#B2912C
secondary
#7388C6
accent
#6CE444
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #B2912C

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

Preview Lab → · Contrast checker → · Palette generator →

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