#B39228#B39228

#B39228 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 67.2% C 0.124 H 90.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B39228
RGBrgb(179, 146, 40)
HSLhsl(46, 63%, 43%)
HSVhsv(46, 78%, 70%)
CMYKcmyk(0%, 18.4%, 77.7%, 29.8%)
CIE-LABlab(61.91, 1.77, 56.91)
CIE-LCHlch(61.91, 56.94, 88.22°)
OKLaboklab(67.23% -0.0012 0.1243)
OKLCHoklch(67.23% 0.124 90.6)
XYZxyz(29.2540, 30.2965, 6.3141)
Luminance0.3029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39228 #2849B3
analogous
#B34C28 #B39228 #8FB328
triadic
#B39228 #28B392 #9228B3
tetradic
#B39228 #28B34C #2849B3 #B3288F
square
#B39228 #28B34C #2849B3 #B3288F
split-complementary
#B39228 #288FB3 #4C28B3
monochromatic
#4F4012 #81691D #B39228 #D5B243 #E0C775

Accessibility & contrast

On white

2.97
#B39228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B39228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39228
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39228#FFFFFF#000000##000000
##B392281.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b39228;
/* rgb */ color: rgb(179, 146, 40);
/* oklch */ color: oklch(67.2% 0.124 90.6);
Tailwind
colors: {
  custom: {
    50: '#ceb16a',
    500: '#b39228',
    950: '#000000',
  },
}
SCSS
$custom: #b39228;
$custom-light: #ceb16a;
$custom-dark: #000000;
JSON
{
  "hex": "#b39228",
  "rgb": {
    "r": 179,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 45.755,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67234,
    "c": 0.12432,
    "h": 90.6
  },
  "luminance": 0.30295
}

Semantic roles & 50–950 ramp

primary
#B39228
secondary
#6F84C8
accent
#69E641
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #B39228

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

Preview Lab → · Contrast checker → · Palette generator →

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