#B39F2F#B39F2F

#B39F2F is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.0% C 0.129 H 98.8°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#B39F2F
RGBrgb(179, 159, 47)
HSLhsl(51, 58%, 44%)
HSVhsv(51, 74%, 70%)
CMYKcmyk(0%, 11.2%, 73.7%, 29.8%)
CIE-LABlab(65.43, -4.95, 57.66)
CIE-LCHlch(65.43, 57.88, 94.90°)
OKLaboklab(70.03% -0.0196 0.1273)
OKLCHoklch(70.03% 0.129 98.8)
XYZxyz(31.5032, 34.5868, 7.7053)
Luminance0.3458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39F2F #2F43B3
analogous
#B35D2F #B39F2F #85B32F
triadic
#B39F2F #2FB39F #9F2FB3
tetradic
#B39F2F #2FB35D #2F43B3 #B32F85
square
#B39F2F #2FB35D #2F43B3 #B32F85
split-complementary
#B39F2F #2F85B3 #5D2FB3
monochromatic
#524916 #837422 #B39F2F #D1BD4F #DDCF7F

Accessibility & contrast

On white

2.65
#B39F2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#B39F2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39F2F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39F2F#FFFFFF#000000##000000
##B39F2F1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b39f2f;
/* rgb */ color: rgb(179, 159, 47);
/* oklch */ color: oklch(70.0% 0.129 98.8);
Tailwind
colors: {
  custom: {
    50: '#cdbb6f',
    500: '#b39f2f',
    950: '#000000',
  },
}
SCSS
$custom: #b39f2f;
$custom-light: #cdbb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b39f2f",
  "rgb": {
    "r": 179,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 50.909,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70028,
    "c": 0.12881,
    "h": 98.8
  },
  "luminance": 0.34585
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B39F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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