#B39E2A#B39E2A

#B39E2A is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.8% C 0.131 H 98.4°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#B39E2A
RGBrgb(179, 158, 42)
HSLhsl(51, 62%, 43%)
HSVhsv(51, 77%, 70%)
CMYKcmyk(0%, 11.7%, 76.5%, 29.8%)
CIE-LABlab(65.13, -4.63, 59.19)
CIE-LCHlch(65.13, 59.38, 94.48°)
OKLaboklab(69.78% -0.0192 0.1296)
OKLCHoklch(69.78% 0.131 98.4)
XYZxyz(31.2368, 34.2062, 7.1472)
Luminance0.3421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39E2A #2A3FB3
analogous
#B3592A #B39E2A #83B32A
triadic
#B39E2A #2AB39E #9E2AB3
tetradic
#B39E2A #2AB359 #2A3FB3 #B32A83
square
#B39E2A #2AB359 #2A3FB3 #B32A83
split-complementary
#B39E2A #2A83B3 #592AB3
monochromatic
#504613 #81721E #B39E2A #D4BE46 #DFD078

Accessibility & contrast

On white

2.68
#B39E2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#B39E2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39E2A
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39E2A#FFFFFF#000000##000000
##B39E2A1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A12
Deuteranopia (green-blind)
#B4A132
Tritanopia (blue-blind)
#C19288
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b39e2a;
/* rgb */ color: rgb(179, 158, 42);
/* oklch */ color: oklch(69.8% 0.131 98.4);
Tailwind
colors: {
  custom: {
    50: '#ceba6d',
    500: '#b39e2a',
    950: '#000000',
  },
}
SCSS
$custom: #b39e2a;
$custom-light: #ceba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b39e2a",
  "rgb": {
    "r": 179,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 50.803,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69781,
    "c": 0.13101,
    "h": 98.4
  },
  "luminance": 0.34205
}

Semantic roles & 50–950 ramp

primary
#B39E2A
secondary
#727FC7
accent
#5CE543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B39E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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