#B49228#B49228

#B49228 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 67.3% C 0.125 H 90.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#B49228
RGBrgb(180, 146, 40)
HSLhsl(45, 64%, 43%)
HSVhsv(45, 78%, 71%)
CMYKcmyk(0%, 18.9%, 77.8%, 29.4%)
CIE-LABlab(62.01, 2.22, 57.05)
CIE-LCHlch(62.01, 57.09, 87.77°)
OKLaboklab(67.34% 0 0.1245)
OKLCHoklch(67.34% 0.125 90)
XYZxyz(29.4860, 30.4162, 6.3249)
Luminance0.3041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49228 #284AB4
analogous
#B44C28 #B49228 #90B428
triadic
#B49228 #28B492 #9228B4
tetradic
#B49228 #28B44C #284AB4 #B42890
square
#B49228 #28B44C #284AB4 #B42890
split-complementary
#B49228 #2890B4 #4C28B4
monochromatic
#504112 #82691D #B49228 #D5B244 #E1C776

Accessibility & contrast

On white

2.96
#B49228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#B49228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49228
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49228#FFFFFF#000000##000000
##B492281.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39013
Deuteranopia (green-blind)
#AC9A2E
Tritanopia (blue-blind)
#C3857E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b49228;
/* rgb */ color: rgb(180, 146, 40);
/* oklch */ color: oklch(67.3% 0.125 90.0);
Tailwind
colors: {
  custom: {
    50: '#cfb16a',
    500: '#b49228',
    950: '#000000',
  },
}
SCSS
$custom: #b49228;
$custom-light: #cfb16a;
$custom-dark: #000000;
JSON
{
  "hex": "#b49228",
  "rgb": {
    "r": 180,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 45.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67339,
    "c": 0.12454,
    "h": 90
  },
  "luminance": 0.30414
}

Semantic roles & 50–950 ramp

primary
#B49228
secondary
#7085C8
accent
#69E741
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #B49228

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

Preview Lab → · Contrast checker → · Palette generator →

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