#B39E2F#B39E2F

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

Color values

HEX#B39E2F
RGBrgb(179, 158, 47)
HSLhsl(50, 58%, 44%)
HSVhsv(50, 74%, 70%)
CMYKcmyk(0%, 11.7%, 73.7%, 29.8%)
CIE-LABlab(65.16, -4.41, 57.40)
CIE-LCHlch(65.16, 57.57, 94.40°)
OKLaboklab(69.82% -0.0181 0.1268)
OKLCHoklch(69.82% 0.128 98.1)
XYZxyz(31.3319, 34.2442, 7.6482)
Luminance0.3424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39E2F #2F44B3
analogous
#B35C2F #B39E2F #86B32F
triadic
#B39E2F #2FB39E #9E2FB3
tetradic
#B39E2F #2FB35C #2F44B3 #B32F86
square
#B39E2F #2FB35C #2F44B3 #B32F86
split-complementary
#B39E2F #2F86B3 #5C2FB3
monochromatic
#524816 #837322 #B39E2F #D1BC4F #DDCE7F

Accessibility & contrast

On white

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

On black

7.85
#B39E2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39E2F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39E2F#FFFFFF#000000##000000
##B39E2F1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b39e2f;
/* rgb */ color: rgb(179, 158, 47);
/* oklch */ color: oklch(69.8% 0.128 98.1);
Tailwind
colors: {
  custom: {
    50: '#cdba6f',
    500: '#b39e2f',
    950: '#000000',
  },
}
SCSS
$custom: #b39e2f;
$custom-light: #cdba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b39e2f",
  "rgb": {
    "r": 179,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 50.455,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69815,
    "c": 0.12804,
    "h": 98.1
  },
  "luminance": 0.34243
}

Semantic roles & 50–950 ramp

primary
#B39E2F
secondary
#7884C6
accent
#5FE246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B39E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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