#B39828#B39828

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

Color values

HEX#B39828
RGBrgb(179, 152, 40)
HSLhsl(48, 63%, 43%)
HSVhsv(48, 78%, 70%)
CMYKcmyk(0%, 15.1%, 77.7%, 29.8%)
CIE-LABlab(63.50, -1.49, 58.39)
CIE-LCHlch(63.50, 58.41, 91.46°)
OKLaboklab(68.49% -0.0105 0.1275)
OKLCHoklch(68.49% 0.128 94.7)
XYZxyz(30.2033, 32.1951, 6.6305)
Luminance0.3219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39828 #2843B3
analogous
#B35228 #B39828 #89B328
triadic
#B39828 #28B398 #9828B3
tetradic
#B39828 #28B352 #2843B3 #B32889
square
#B39828 #28B352 #2843B3 #B32889
split-complementary
#B39828 #2889B3 #5228B3
monochromatic
#4F4312 #816E1D #B39828 #D5B943 #E0CB75

Accessibility & contrast

On white

2.82
#B39828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#B39828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39828
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39828#FFFFFF#000000##000000
##B398281.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99511
Deuteranopia (green-blind)
#AF9D2F
Tritanopia (blue-blind)
#C28B83
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b39828;
/* rgb */ color: rgb(179, 152, 40);
/* oklch */ color: oklch(68.5% 0.128 94.7);
Tailwind
colors: {
  custom: {
    50: '#ceb56b',
    500: '#b39828',
    950: '#000000',
  },
}
SCSS
$custom: #b39828;
$custom-light: #ceb56b;
$custom-dark: #000000;
JSON
{
  "hex": "#b39828",
  "rgb": {
    "r": 179,
    "g": 152,
    "b": 40
  },
  "hsl": {
    "h": 48.345,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68494,
    "c": 0.12789,
    "h": 94.7
  },
  "luminance": 0.32193
}

Semantic roles & 50–950 ramp

primary
#B39828
secondary
#6F80C8
accent
#61E641
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B39828

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

Preview Lab → · Contrast checker → · Palette generator →

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