#B39A2F#B39A2F

#B39A2F is a light, vivid yellow. Relative luminance 0.329; OKLCH L 69.0% C 0.125 H 95.5°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#B39A2F
RGBrgb(179, 154, 47)
HSLhsl(49, 58%, 44%)
HSVhsv(49, 74%, 70%)
CMYKcmyk(0%, 14%, 73.7%, 29.8%)
CIE-LABlab(64.08, -2.26, 56.36)
CIE-LCHlch(64.08, 56.41, 92.30°)
OKLaboklab(68.96% -0.012 0.1246)
OKLCHoklch(68.96% 0.125 95.5)
XYZxyz(30.6607, 32.9018, 7.4245)
Luminance0.3290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39A2F #2F48B3
analogous
#B3582F #B39A2F #8AB32F
triadic
#B39A2F #2FB39A #9A2FB3
tetradic
#B39A2F #2FB358 #2F48B3 #B32F8A
square
#B39A2F #2FB358 #2F48B3 #B32F8A
split-complementary
#B39A2F #2F8AB3 #582FB3
monochromatic
#524716 #837022 #B39A2F #D1B84F #DDCC7F

Accessibility & contrast

On white

2.77
#B39A2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#B39A2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39A2F
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39A2F#FFFFFF#000000##000000
##B39A2F1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA971D
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#C18E85
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b39a2f;
/* rgb */ color: rgb(179, 154, 47);
/* oklch */ color: oklch(69.0% 0.125 95.5);
Tailwind
colors: {
  custom: {
    50: '#ceb76f',
    500: '#b39a2f',
    950: '#000000',
  },
}
SCSS
$custom: #b39a2f;
$custom-light: #ceb76f;
$custom-dark: #000000;
JSON
{
  "hex": "#b39a2f",
  "rgb": {
    "r": 179,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 48.636,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68964,
    "c": 0.12513,
    "h": 95.5
  },
  "luminance": 0.329
}

Semantic roles & 50–950 ramp

primary
#B39A2F
secondary
#7886C6
accent
#64E246
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B39A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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