#B7AB4E#B7AB4E

#B7AB4E is a light, moderate yellow. Relative luminance 0.397; OKLCH L 73.3% C 0.115 H 102.0°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#B7AB4E
RGBrgb(183, 171, 78)
HSLhsl(53, 42%, 51%)
HSVhsv(53, 57%, 72%)
CMYKcmyk(0%, 6.6%, 57.4%, 28.2%)
CIE-LABlab(69.29, -7.65, 48.54)
CIE-LCHlch(69.29, 49.14, 98.95°)
OKLaboklab(73.26% -0.024 0.1127)
OKLCHoklch(73.26% 0.115 102)
XYZxyz(35.4677, 39.7445, 13.0094)
Luminance0.3974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AB4E #4E5AB7
analogous
#B7764E #B7AB4E #8EB74E
triadic
#B7AB4E #4EB7AB #AB4EB7
tetradic
#B7AB4E #4EB776 #4E5AB7 #B74E8E
square
#B7AB4E #4EB776 #4E5AB7 #B74E8E
split-complementary
#B7AB4E #4E8EB7 #764EB7
monochromatic
#635C28 #8E843A #B7AB4E #C9C07A #DAD4A5

Accessibility & contrast

On white

2.35
#B7AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#B7AB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AB4E
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AB4E#FFFFFF#000000##000000
##B7AB4E1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A645
Deuteranopia (green-blind)
#BDAC53
Tritanopia (blue-blind)
#C4A096
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ab4e;
/* rgb */ color: rgb(183, 171, 78);
/* oklch */ color: oklch(73.3% 0.115 102.0);
Tailwind
colors: {
  custom: {
    50: '#cfc383',
    500: '#b7ab4e',
    950: '#000000',
  },
}
SCSS
$custom: #b7ab4e;
$custom-light: #cfc383;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ab4e",
  "rgb": {
    "r": 183,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 53.143,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7326,
    "c": 0.11523,
    "h": 102
  },
  "luminance": 0.39743
}

Semantic roles & 50–950 ramp

primary
#B7AB4E
secondary
#999FC8
accent
#64D256
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B7AB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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