#B29226#B29226

#B29226 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 67.1% C 0.125 H 91.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#B29226
RGBrgb(178, 146, 38)
HSLhsl(46, 65%, 42%)
HSVhsv(46, 79%, 70%)
CMYKcmyk(0%, 18%, 78.7%, 30.2%)
CIE-LABlab(61.80, 1.24, 57.48)
CIE-LCHlch(61.80, 57.50, 88.76°)
OKLaboklab(67.12% -0.0029 0.1252)
OKLCHoklch(67.12% 0.125 91.3)
XYZxyz(28.9905, 30.1645, 6.1287)
Luminance0.3016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29226 #2646B2
analogous
#B24C26 #B29226 #8CB226
triadic
#B29226 #26B292 #9226B2
tetradic
#B29226 #26B24C #2646B2 #B2268C
square
#B29226 #26B24C #2646B2 #B2268C
split-complementary
#B29226 #268CB2 #4C26B2
monochromatic
#4D3F10 #80691B #B29226 #D6B43F #E1C772

Accessibility & contrast

On white

2.99
#B29226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#B29226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29226
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29226#FFFFFF#000000##000000
##B292261.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3900F
Deuteranopia (green-blind)
#AB992D
Tritanopia (blue-blind)
#C1857D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b29226;
/* rgb */ color: rgb(178, 146, 38);
/* oklch */ color: oklch(67.1% 0.125 91.3);
Tailwind
colors: {
  custom: {
    50: '#cdb169',
    500: '#b29226',
    950: '#000000',
  },
}
SCSS
$custom: #b29226;
$custom-light: #cdb169;
$custom-dark: #000000;
JSON
{
  "hex": "#b29226",
  "rgb": {
    "r": 178,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 46.286,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67118,
    "c": 0.12518,
    "h": 91.3
  },
  "luminance": 0.30163
}

Semantic roles & 50–950 ramp

primary
#B29226
secondary
#6C81C8
accent
#66E840
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #B29226

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

Preview Lab → · Contrast checker → · Palette generator →

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