#B7A339#B7A339

#B7A339 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.3% C 0.125 H 98.4°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#B7A339
RGBrgb(183, 163, 57)
HSLhsl(50, 53%, 47%)
HSVhsv(50, 69%, 72%)
CMYKcmyk(0%, 10.9%, 68.9%, 28.2%)
CIE-LABlab(66.94, -4.80, 55.34)
CIE-LCHlch(66.94, 55.55, 94.96°)
OKLaboklab(71.34% -0.0183 0.1241)
OKLCHoklch(71.34% 0.125 98.4)
XYZxyz(33.3657, 36.5587, 9.1691)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A339 #394DB7
analogous
#B76439 #B7A339 #8CB739
triadic
#B7A339 #39B7A3 #A339B7
tetradic
#B7A339 #39B764 #394DB7 #B7398C
square
#B7A339 #39B764 #394DB7 #B7398C
split-complementary
#B7A339 #398CB7 #6439B7
monochromatic
#5A501C #88792A #B7A339 #CDBC60 #DCD08E

Accessibility & contrast

On white

2.53
#B7A339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#B7A339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A339
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A339#FFFFFF#000000##000000
##B7A3391.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2A
Deuteranopia (green-blind)
#B8A63F
Tritanopia (blue-blind)
#C5978D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b7a339;
/* rgb */ color: rgb(183, 163, 57);
/* oklch */ color: oklch(71.3% 0.125 98.4);
Tailwind
colors: {
  custom: {
    50: '#d0bd75',
    500: '#b7a339',
    950: '#000000',
  },
}
SCSS
$custom: #b7a339;
$custom-light: #d0bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a339",
  "rgb": {
    "r": 183,
    "g": 163,
    "b": 57
  },
  "hsl": {
    "h": 50.476,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71342,
    "c": 0.12544,
    "h": 98.4
  },
  "luminance": 0.36557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7A339

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

Preview Lab → · Contrast checker → · Palette generator →

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