#B39F2A#B39F2A

#B39F2A is a light, vivid yellow. Relative luminance 0.345; OKLCH L 70.0% C 0.132 H 99.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#B39F2A
RGBrgb(179, 159, 42)
HSLhsl(51, 62%, 43%)
HSVhsv(51, 77%, 70%)
CMYKcmyk(0%, 11.2%, 76.5%, 29.8%)
CIE-LABlab(65.40, -5.17, 59.45)
CIE-LCHlch(65.40, 59.67, 94.97°)
OKLaboklab(69.99% -0.0207 0.1301)
OKLCHoklch(69.99% 0.132 99.1)
XYZxyz(31.4080, 34.5487, 7.2043)
Luminance0.3455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39F2A #2A3EB3
analogous
#B35A2A #B39F2A #82B32A
triadic
#B39F2A #2AB39F #9F2AB3
tetradic
#B39F2A #2AB35A #2A3EB3 #B32A82
square
#B39F2A #2AB35A #2A3EB3 #B32A82
split-complementary
#B39F2A #2A82B3 #5A2AB3
monochromatic
#504713 #81731E #B39F2A #D4BF46 #DFD078

Accessibility & contrast

On white

2.66
#B39F2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#B39F2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39F2A
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39F2A#FFFFFF#000000##000000
##B39F2A1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B12
Deuteranopia (green-blind)
#B4A232
Tritanopia (blue-blind)
#C19389
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b39f2a;
/* rgb */ color: rgb(179, 159, 42);
/* oklch */ color: oklch(70.0% 0.132 99.1);
Tailwind
colors: {
  custom: {
    50: '#cebb6d',
    500: '#b39f2a',
    950: '#000000',
  },
}
SCSS
$custom: #b39f2a;
$custom-light: #cebb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b39f2a",
  "rgb": {
    "r": 179,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 51.241,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69995,
    "c": 0.13176,
    "h": 99.1
  },
  "luminance": 0.34547
}

Semantic roles & 50–950 ramp

primary
#B39F2A
secondary
#727EC7
accent
#5AE543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B39F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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