#B39F40#B39F40

#B39F40 is a light, moderate yellow. Relative luminance 0.347; OKLCH L 70.2% C 0.117 H 97.4°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#B39F40
RGBrgb(179, 159, 64)
HSLhsl(50, 47%, 48%)
HSVhsv(50, 64%, 70%)
CMYKcmyk(0%, 11.2%, 64.2%, 29.8%)
CIE-LABlab(65.55, -4.00, 50.75)
CIE-LCHlch(65.55, 50.91, 94.51°)
OKLaboklab(70.17% -0.015 0.1156)
OKLCHoklch(70.17% 0.117 97.4)
XYZxyz(31.9153, 34.7516, 9.8761)
Luminance0.3475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39F40 #4054B3
analogous
#B36540 #B39F40 #8EB340
triadic
#B39F40 #40B39F #9F40B3
tetradic
#B39F40 #40B365 #4054B3 #B3408E
square
#B39F40 #40B365 #4054B3 #B3408E
split-complementary
#B39F40 #408EB3 #6540B3
monochromatic
#594F20 #867730 #B39F40 #C9B867 #D9CD94

Accessibility & contrast

On white

2.64
#B39F40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#B39F40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39F40
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39F40#FFFFFF#000000##000000
##B39F401.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B35
Deuteranopia (green-blind)
#B3A245
Tritanopia (blue-blind)
#C1948B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b39f40;
/* rgb */ color: rgb(179, 159, 64);
/* oklch */ color: oklch(70.2% 0.117 97.4);
Tailwind
colors: {
  custom: {
    50: '#cdbb79',
    500: '#b39f40',
    950: '#000000',
  },
}
SCSS
$custom: #b39f40;
$custom-light: #cdbb79;
$custom-dark: #000000;
JSON
{
  "hex": "#b39f40",
  "rgb": {
    "r": 179,
    "g": 159,
    "b": 64
  },
  "hsl": {
    "h": 49.565,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70172,
    "c": 0.11659,
    "h": 97.4
  },
  "luminance": 0.3475
}

Semantic roles & 50–950 ramp

primary
#B39F40
secondary
#8A94C4
accent
#68D751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B

Preview Lab

Preview with #B39F40

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

Preview Lab → · Contrast checker → · Palette generator →

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