#B39822#B39822

#B39822 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.5% C 0.131 H 95.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#B39822
RGBrgb(179, 152, 34)
HSLhsl(49, 68%, 42%)
HSVhsv(49, 81%, 70%)
CMYKcmyk(0%, 15.1%, 81%, 29.8%)
CIE-LABlab(63.47, -1.71, 60.35)
CIE-LCHlch(63.47, 60.38, 91.62°)
OKLaboklab(68.46% -0.0117 0.1304)
OKLCHoklch(68.46% 0.131 95.1)
XYZxyz(30.1091, 32.1574, 6.1342)
Luminance0.3216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39822 #223DB3
analogous
#B35022 #B39822 #85B322
triadic
#B39822 #22B398 #9822B3
tetradic
#B39822 #22B350 #223DB3 #B32285
square
#B39822 #22B350 #223DB3 #B32285
split-complementary
#B39822 #2285B3 #5022B3
monochromatic
#4C410E #806C18 #B39822 #D9BB39 #E3CD6C

Accessibility & contrast

On white

2.83
#B39822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#B39822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39822
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39822#FFFFFF#000000##000000
##B398221.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#B09D2B
Tritanopia (blue-blind)
#C28B82
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b39822;
/* rgb */ color: rgb(179, 152, 34);
/* oklch */ color: oklch(68.5% 0.131 95.1);
Tailwind
colors: {
  custom: {
    50: '#ceb568',
    500: '#b39822',
    950: '#000000',
  },
}
SCSS
$custom: #b39822;
$custom-light: #ceb568;
$custom-dark: #000000;
JSON
{
  "hex": "#b39822",
  "rgb": {
    "r": 179,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 48.828,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68459,
    "c": 0.13095,
    "h": 95.1
  },
  "luminance": 0.32156
}

Semantic roles & 50–950 ramp

primary
#B39822
secondary
#687AC9
accent
#5DEB3D
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #B39822

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

Preview Lab → · Contrast checker → · Palette generator →

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