#B7AB45#B7AB45

#B7AB45 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.2% C 0.123 H 102.6°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#B7AB45
RGBrgb(183, 171, 69)
HSLhsl(54, 45%, 49%)
HSVhsv(54, 62%, 72%)
CMYKcmyk(0%, 6.6%, 62.3%, 28.2%)
CIE-LABlab(69.20, -8.29, 52.57)
CIE-LCHlch(69.20, 53.22, 98.97°)
OKLaboklab(73.16% -0.0269 0.1201)
OKLCHoklch(73.16% 0.123 102.6)
XYZxyz(35.1669, 39.6241, 11.4249)
Luminance0.3962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AB45 #4551B7
analogous
#B77245 #B7AB45 #8AB745
triadic
#B7AB45 #45B7AB #AB45B7
tetradic
#B7AB45 #45B772 #4551B7 #B7458A
square
#B7AB45 #45B772 #4551B7 #B7458A
split-complementary
#B7AB45 #458AB7 #7245B7
monochromatic
#5E5823 #8B8134 #B7AB45 #C9C070 #DAD39D

Accessibility & contrast

On white

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

On black

8.92
#B7AB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AB45
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AB45#FFFFFF#000000##000000
##B7AB451.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA639
Deuteranopia (green-blind)
#BDAB4B
Tritanopia (blue-blind)
#C4A095
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ab45;
/* rgb */ color: rgb(183, 171, 69);
/* oklch */ color: oklch(73.2% 0.123 102.6);
Tailwind
colors: {
  custom: {
    50: '#cfc37d',
    500: '#b7ab45',
    950: '#000000',
  },
}
SCSS
$custom: #b7ab45;
$custom-light: #cfc37d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ab45",
  "rgb": {
    "r": 183,
    "g": 171,
    "b": 69
  },
  "hsl": {
    "h": 53.684,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73164,
    "c": 0.12308,
    "h": 102.6
  },
  "luminance": 0.39623
}

Semantic roles & 50–950 ramp

primary
#B7AB45
secondary
#9297C6
accent
#61D553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7AB45

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

Preview Lab → · Contrast checker → · Palette generator →

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