#B2912A#B2912A

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

Color values

HEX#B2912A
RGBrgb(178, 145, 42)
HSLhsl(45, 62%, 43%)
HSVhsv(45, 76%, 70%)
CMYKcmyk(0%, 18.5%, 76.4%, 30.2%)
CIE-LABlab(61.55, 1.95, 55.81)
CIE-LCHlch(61.55, 55.84, 88.00°)
OKLaboklab(66.94% -0.0004 0.1224)
OKLCHoklch(66.94% 0.122 90.2)
XYZxyz(28.9051, 29.8848, 6.4359)
Luminance0.2988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2912A #2A4BB2
analogous
#B24D2A #B2912A #8FB22A
triadic
#B2912A #2AB291 #912AB2
tetradic
#B2912A #2AB24D #2A4BB2 #B22A8F
square
#B2912A #2AB24D #2A4BB2 #B22A8F
split-complementary
#B2912A #2A8FB2 #4D2AB2
monochromatic
#4F4013 #80691E #B2912A #D3B146 #DFC677

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2912A#FFFFFF#000000##000000
##B2912A1.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)
#A28F18
Deuteranopia (green-blind)
#AA9830
Tritanopia (blue-blind)
#C1847D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b2912a;
/* rgb */ color: rgb(178, 145, 42);
/* oklch */ color: oklch(66.9% 0.122 90.2);
Tailwind
colors: {
  custom: {
    50: '#cdb06b',
    500: '#b2912a',
    950: '#000000',
  },
}
SCSS
$custom: #b2912a;
$custom-light: #cdb06b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2912a",
  "rgb": {
    "r": 178,
    "g": 145,
    "b": 42
  },
  "hsl": {
    "h": 45.441,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66935,
    "c": 0.12241,
    "h": 90.2
  },
  "luminance": 0.29883
}

Semantic roles & 50–950 ramp

primary
#B2912A
secondary
#7186C7
accent
#6AE543
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #B2912A

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

Preview Lab → · Contrast checker → · Palette generator →

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