#B7A839#B7A839

#B7A839 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.130 H 101.5°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B7A839
RGBrgb(183, 168, 57)
HSLhsl(53, 53%, 47%)
HSVhsv(53, 69%, 72%)
CMYKcmyk(0%, 8.2%, 68.9%, 28.2%)
CIE-LABlab(68.29, -7.45, 56.72)
CIE-LCHlch(68.29, 57.20, 97.48°)
OKLaboklab(72.41% -0.0258 0.127)
OKLCHoklch(72.41% 0.13 101.5)
XYZxyz(34.2711, 38.3694, 9.4709)
Luminance0.3837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A839 #3948B7
analogous
#B76939 #B7A839 #87B739
triadic
#B7A839 #39B7A8 #A839B7
tetradic
#B7A839 #39B769 #3948B7 #B73987
square
#B7A839 #39B769 #3948B7 #B73987
split-complementary
#B7A839 #3987B7 #6939B7
monochromatic
#5A521C #887D2A #B7A839 #CDC060 #DCD38E

Accessibility & contrast

On white

2.42
#B7A839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#B7A839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A839
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A839#FFFFFF#000000##000000
##B7A8391.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A329
Deuteranopia (green-blind)
#BCA940
Tritanopia (blue-blind)
#C59C92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b7a839;
/* rgb */ color: rgb(183, 168, 57);
/* oklch */ color: oklch(72.4% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#d0c176',
    500: '#b7a839',
    950: '#000000',
  },
}
SCSS
$custom: #b7a839;
$custom-light: #d0c176;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a839",
  "rgb": {
    "r": 183,
    "g": 168,
    "b": 57
  },
  "hsl": {
    "h": 52.857,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72411,
    "c": 0.12959,
    "h": 101.5
  },
  "luminance": 0.38368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7A839

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

Preview Lab → · Contrast checker → · Palette generator →

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