#B5AA2B#B5AA2B

#B5AA2B is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.6% C 0.140 H 104.2°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#B5AA2B
RGBrgb(181, 170, 43)
HSLhsl(55, 62%, 44%)
HSVhsv(55, 76%, 71%)
CMYKcmyk(0%, 6.1%, 76.2%, 29%)
CIE-LABlab(68.57, -10.04, 62.11)
CIE-LCHlch(68.57, 62.92, 99.19°)
OKLaboklab(72.56% -0.0345 0.1359)
OKLCHoklch(72.56% 0.14 104.2)
XYZxyz(33.8683, 38.7490, 7.9803)
Luminance0.3875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AA2B #2B36B5
analogous
#B5652B #B5AA2B #7BB52B
triadic
#B5AA2B #2BB5AA #AA2BB5
tetradic
#B5AA2B #2BB565 #2B36B5 #B52B7B
square
#B5AA2B #2BB565 #2B36B5 #B52B7B
split-complementary
#B5AA2B #2B7BB5 #652BB5
monochromatic
#524D14 #847C1F #B5AA2B #D4C949 #E0D87B

Accessibility & contrast

On white

2.40
#B5AA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#B5AA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AA2B
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AA2B#FFFFFF#000000##000000
##B5AA2B1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA40E
Deuteranopia (green-blind)
#BDAA35
Tritanopia (blue-blind)
#C39E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b5aa2b;
/* rgb */ color: rgb(181, 170, 43);
/* oklch */ color: oklch(72.6% 0.140 104.2);
Tailwind
colors: {
  custom: {
    50: '#cfc26f',
    500: '#b5aa2b',
    950: '#000000',
  },
}
SCSS
$custom: #b5aa2b;
$custom-light: #cfc26f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5aa2b",
  "rgb": {
    "r": 181,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 55.217,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72561,
    "c": 0.14022,
    "h": 104.2
  },
  "luminance": 0.38748
}

Semantic roles & 50–950 ramp

primary
#B5AA2B
secondary
#747BC8
accent
#50E543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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