#B7A239#B7A239

#B7A239 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.1% C 0.125 H 97.8°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#B7A239
RGBrgb(183, 162, 57)
HSLhsl(50, 53%, 47%)
HSVhsv(50, 69%, 72%)
CMYKcmyk(0%, 11.5%, 68.9%, 28.2%)
CIE-LABlab(66.68, -4.27, 55.07)
CIE-LCHlch(66.68, 55.24, 94.44°)
OKLaboklab(71.13% -0.0168 0.1235)
OKLCHoklch(71.13% 0.125 97.8)
XYZxyz(33.1888, 36.2050, 9.1102)
Luminance0.3620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A239 #394EB7
analogous
#B76339 #B7A239 #8DB739
triadic
#B7A239 #39B7A2 #A239B7
tetradic
#B7A239 #39B763 #394EB7 #B7398D
square
#B7A239 #39B763 #394EB7 #B7398D
split-complementary
#B7A239 #398DB7 #6339B7
monochromatic
#5A4F1C #88792A #B7A239 #CDBB60 #DCCF8E

Accessibility & contrast

On white

2.55
#B7A239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#B7A239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A239
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A239#FFFFFF#000000##000000
##B7A2391.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E2B
Deuteranopia (green-blind)
#B7A53F
Tritanopia (blue-blind)
#C5968D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b7a239;
/* rgb */ color: rgb(183, 162, 57);
/* oklch */ color: oklch(71.1% 0.125 97.8);
Tailwind
colors: {
  custom: {
    50: '#d0bd75',
    500: '#b7a239',
    950: '#000000',
  },
}
SCSS
$custom: #b7a239;
$custom-light: #d0bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a239",
  "rgb": {
    "r": 183,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 50,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.7113,
    "c": 0.12465,
    "h": 97.8
  },
  "luminance": 0.36203
}

Semantic roles & 50–950 ramp

primary
#B7A239
secondary
#8590C7
accent
#64DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A239

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

Preview Lab → · Contrast checker → · Palette generator →

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