#B7A739#B7A739

#B7A739 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.2% C 0.129 H 100.9°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#B7A739
RGBrgb(183, 167, 57)
HSLhsl(52, 53%, 47%)
HSVhsv(52, 69%, 72%)
CMYKcmyk(0%, 8.7%, 68.9%, 28.2%)
CIE-LABlab(68.02, -6.92, 56.44)
CIE-LCHlch(68.02, 56.86, 96.99°)
OKLaboklab(72.2% -0.0243 0.1264)
OKLCHoklch(72.2% 0.129 100.9)
XYZxyz(34.0872, 38.0016, 9.4096)
Luminance0.3800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A739 #3949B7
analogous
#B76839 #B7A739 #88B739
triadic
#B7A739 #39B7A7 #A739B7
tetradic
#B7A739 #39B768 #3949B7 #B73988
square
#B7A739 #39B768 #3949B7 #B73988
split-complementary
#B7A739 #3988B7 #6839B7
monochromatic
#5A521C #887C2A #B7A739 #CDBF60 #DCD28E

Accessibility & contrast

On white

2.44
#B7A739 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#B7A739 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A739
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A739#FFFFFF#000000##000000
##B7A7391.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A229
Deuteranopia (green-blind)
#BBA940
Tritanopia (blue-blind)
#C59B91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b7a739;
/* rgb */ color: rgb(183, 167, 57);
/* oklch */ color: oklch(72.2% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#d0c076',
    500: '#b7a739',
    950: '#000000',
  },
}
SCSS
$custom: #b7a739;
$custom-light: #d0c076;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a739",
  "rgb": {
    "r": 183,
    "g": 167,
    "b": 57
  },
  "hsl": {
    "h": 52.381,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72197,
    "c": 0.12873,
    "h": 100.9
  },
  "luminance": 0.38
}

Semantic roles & 50–950 ramp

primary
#B7A739
secondary
#858DC7
accent
#5EDC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A739

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

Preview Lab → · Contrast checker → · Palette generator →

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