#B2902A#B2902A

#B2902A is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.7% C 0.122 H 89.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#B2902A
RGBrgb(178, 144, 42)
HSLhsl(45, 62%, 43%)
HSVhsv(45, 76%, 70%)
CMYKcmyk(0%, 19.1%, 76.4%, 30.2%)
CIE-LABlab(61.29, 2.50, 55.56)
CIE-LCHlch(61.29, 55.61, 87.42°)
OKLaboklab(66.73% 0.0012 0.1219)
OKLCHoklch(66.73% 0.122 89.5)
XYZxyz(28.7530, 29.5805, 6.3852)
Luminance0.2958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2902A #2A4CB2
analogous
#B24C2A #B2902A #90B22A
triadic
#B2902A #2AB290 #902AB2
tetradic
#B2902A #2AB24C #2A4CB2 #B22A90
square
#B2902A #2AB24C #2A4CB2 #B22A90
split-complementary
#B2902A #2A90B2 #4C2AB2
monochromatic
#4F4013 #80681E #B2902A #D3B046 #DFC577

Accessibility & contrast

On white

3.04
#B2902A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#B2902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B2902A
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2902A#FFFFFF#000000##000000
##B2902A1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E18
Deuteranopia (green-blind)
#A99830
Tritanopia (blue-blind)
#C1837C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b2902a;
/* rgb */ color: rgb(178, 144, 42);
/* oklch */ color: oklch(66.7% 0.122 89.5);
Tailwind
colors: {
  custom: {
    50: '#cdb06b',
    500: '#b2902a',
    950: '#000000',
  },
}
SCSS
$custom: #b2902a;
$custom-light: #cdb06b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2902a",
  "rgb": {
    "r": 178,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 45,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66727,
    "c": 0.12189,
    "h": 89.5
  },
  "luminance": 0.29579
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2902A

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

Preview Lab → · Contrast checker → · Palette generator →

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