#B7A13E#B7A13E

#B7A13E is a light, vivid yellow. Relative luminance 0.359; OKLCH L 71.0% C 0.120 H 96.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B7A13E
RGBrgb(183, 161, 62)
HSLhsl(49, 49%, 48%)
HSVhsv(49, 66%, 72%)
CMYKcmyk(0%, 12%, 66.1%, 28.2%)
CIE-LABlab(66.45, -3.45, 52.70)
CIE-LCHlch(66.45, 52.81, 93.74°)
OKLaboklab(70.96% -0.0139 0.1193)
OKLCHoklch(70.96% 0.12 96.6)
XYZxyz(33.1443, 35.9064, 9.7413)
Luminance0.3590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A13E #3E54B7
analogous
#B7643E #B7A13E #90B73E
triadic
#B7A13E #3EB7A1 #A13EB7
tetradic
#B7A13E #3EB764 #3E54B7 #B73E90
square
#B7A13E #3EB764 #3E54B7 #B73E90
split-complementary
#B7A13E #3E90B7 #643EB7
monochromatic
#5C511F #89792F #B7A13E #CBB967 #DBCE94

Accessibility & contrast

On white

2.57
#B7A13E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#B7A13E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A13E
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A13E#FFFFFF#000000##000000
##B7A13E1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D32
Deuteranopia (green-blind)
#B6A543
Tritanopia (blue-blind)
#C5958C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b7a13e;
/* rgb */ color: rgb(183, 161, 62);
/* oklch */ color: oklch(71.0% 0.120 96.6);
Tailwind
colors: {
  custom: {
    50: '#d0bc78',
    500: '#b7a13e',
    950: '#000000',
  },
}
SCSS
$custom: #b7a13e;
$custom-light: #d0bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a13e",
  "rgb": {
    "r": 183,
    "g": 161,
    "b": 62
  },
  "hsl": {
    "h": 49.091,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70962,
    "c": 0.12014,
    "h": 96.6
  },
  "luminance": 0.35905
}

Semantic roles & 50–950 ramp

primary
#B7A13E
secondary
#8A95C6
accent
#68D94F
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A13E

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

Preview Lab → · Contrast checker → · Palette generator →

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