#B7AB35#B7AB35

#B7AB35 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.0% C 0.135 H 103.4°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#B7AB35
RGBrgb(183, 171, 53)
HSLhsl(54, 55%, 46%)
HSVhsv(54, 71%, 72%)
CMYKcmyk(0%, 6.6%, 71%, 28.2%)
CIE-LABlab(69.08, -9.23, 59.07)
CIE-LCHlch(69.08, 59.79, 98.89°)
OKLaboklab(73.03% -0.0313 0.1313)
OKLCHoklch(73.03% 0.135 103.4)
XYZxyz(34.7354, 39.4516, 9.1527)
Luminance0.3945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AB35 #3541B7
analogous
#B76A35 #B7AB35 #82B735
triadic
#B7AB35 #35B7AB #AB35B7
tetradic
#B7AB35 #35B76A #3541B7 #B73582
square
#B7AB35 #35B76A #3541B7 #B73582
split-complementary
#B7AB35 #3582B7 #6A35B7
monochromatic
#58521A #887F27 #B7AB35 #CFC45A #DDD589

Accessibility & contrast

On white

2.36
#B7AB35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#B7AB35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AB35
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AB35#FFFFFF#000000##000000
##B7AB351.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA522
Deuteranopia (green-blind)
#BEAB3D
Tritanopia (blue-blind)
#C59F94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ab35;
/* rgb */ color: rgb(183, 171, 53);
/* oklch */ color: oklch(73.0% 0.135 103.4);
Tailwind
colors: {
  custom: {
    50: '#d0c374',
    500: '#b7ab35',
    950: '#000000',
  },
}
SCSS
$custom: #b7ab35;
$custom-light: #d0c374;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ab35",
  "rgb": {
    "r": 183,
    "g": 171,
    "b": 53
  },
  "hsl": {
    "h": 54.462,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73026,
    "c": 0.13495,
    "h": 103.4
  },
  "luminance": 0.3945
}

Semantic roles & 50–950 ramp

primary
#B7AB35
secondary
#8187C7
accent
#57DE49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AB35

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

Preview Lab → · Contrast checker → · Palette generator →

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