#B39D2E#B39D2E

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

Color values

HEX#B39D2E
RGBrgb(179, 157, 46)
HSLhsl(50, 59%, 44%)
HSVhsv(50, 74%, 70%)
CMYKcmyk(0%, 12.3%, 74.3%, 29.8%)
CIE-LABlab(64.88, -3.92, 57.51)
CIE-LCHlch(64.88, 57.65, 93.90°)
OKLaboklab(69.59% -0.0168 0.1268)
OKLCHoklch(69.59% 0.128 97.5)
XYZxyz(31.1421, 33.8965, 7.4866)
Luminance0.3389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39D2E #2E44B3
analogous
#B35B2E #B39D2E #87B32E
triadic
#B39D2E #2EB39D #9D2EB3
tetradic
#B39D2E #2EB35B #2E44B3 #B32E87
square
#B39D2E #2EB35B #2E44B3 #B32E87
split-complementary
#B39D2E #2E87B3 #5B2EB3
monochromatic
#524815 #827221 #B39D2E #D1BB4D #DECE7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B39D2E#FFFFFF#000000##000000
##B39D2E1.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)
#AD991B
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#C19187
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b39d2e;
/* rgb */ color: rgb(179, 157, 46);
/* oklch */ color: oklch(69.6% 0.128 97.5);
Tailwind
colors: {
  custom: {
    50: '#ceb96f',
    500: '#b39d2e',
    950: '#000000',
  },
}
SCSS
$custom: #b39d2e;
$custom-light: #ceb96f;
$custom-dark: #000000;
JSON
{
  "hex": "#b39d2e",
  "rgb": {
    "r": 179,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 50.075,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69594,
    "c": 0.12791,
    "h": 97.5
  },
  "luminance": 0.33895
}

Semantic roles & 50–950 ramp

primary
#B39D2E
secondary
#7684C6
accent
#5FE246
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B39D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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