#B39D2F#B39D2F

#B39D2F is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.6% C 0.127 H 97.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#B39D2F
RGBrgb(179, 157, 47)
HSLhsl(50, 58%, 44%)
HSVhsv(50, 74%, 70%)
CMYKcmyk(0%, 12.3%, 73.7%, 29.8%)
CIE-LABlab(64.89, -3.88, 57.14)
CIE-LCHlch(64.89, 57.27, 93.88°)
OKLaboklab(69.6% -0.0166 0.1262)
OKLCHoklch(69.6% 0.127 97.5)
XYZxyz(31.1620, 33.9045, 7.5916)
Luminance0.3390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39D2F #2F45B3
analogous
#B35B2F #B39D2F #87B32F
triadic
#B39D2F #2FB39D #9D2FB3
tetradic
#B39D2F #2FB35B #2F45B3 #B32F87
square
#B39D2F #2FB35B #2F45B3 #B32F87
split-complementary
#B39D2F #2F87B3 #5B2FB3
monochromatic
#524816 #837222 #B39D2F #D1BB4F #DDCE7F

Accessibility & contrast

On white

2.70
#B39D2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#B39D2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39D2F
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39D2F#FFFFFF#000000##000000
##B39D2F1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991C
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#C19187
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b39d2f;
/* rgb */ color: rgb(179, 157, 47);
/* oklch */ color: oklch(69.6% 0.127 97.5);
Tailwind
colors: {
  custom: {
    50: '#ceb96f',
    500: '#b39d2f',
    950: '#000000',
  },
}
SCSS
$custom: #b39d2f;
$custom-light: #ceb96f;
$custom-dark: #000000;
JSON
{
  "hex": "#b39d2f",
  "rgb": {
    "r": 179,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 50,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69601,
    "c": 0.12729,
    "h": 97.5
  },
  "luminance": 0.33903
}

Semantic roles & 50–950 ramp

primary
#B39D2F
secondary
#7885C6
accent
#60E246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B39D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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