#B5AA3E#B5AA3E

#B5AA3E is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.128 H 103.5°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#B5AA3E
RGBrgb(181, 170, 62)
HSLhsl(54, 49%, 48%)
HSVhsv(54, 66%, 71%)
CMYKcmyk(0%, 6.1%, 65.7%, 29%)
CIE-LABlab(68.69, -9.08, 55.01)
CIE-LCHlch(68.69, 55.75, 99.38°)
OKLaboklab(72.7% -0.0298 0.1243)
OKLCHoklch(72.7% 0.128 103.5)
XYZxyz(34.3016, 38.9223, 10.2624)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AA3E #3E49B5
analogous
#B56F3E #B5AA3E #84B53E
triadic
#B5AA3E #3EB5AA #AA3EB5
tetradic
#B5AA3E #3EB56F #3E49B5 #B53E84
square
#B5AA3E #3EB56F #3E49B5 #B53E84
split-complementary
#B5AA3E #3E84B5 #6F3EB5
monochromatic
#5A541F #877F2E #B5AA3E #CAC166 #DAD493

Accessibility & contrast

On white

2.39
#B5AA3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#B5AA3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AA3E
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AA3E#FFFFFF#000000##000000
##B5AA3E1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A530
Deuteranopia (green-blind)
#BCAA44
Tritanopia (blue-blind)
#C29F94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b5aa3e;
/* rgb */ color: rgb(181, 170, 62);
/* oklch */ color: oklch(72.7% 0.128 103.5);
Tailwind
colors: {
  custom: {
    50: '#cec379',
    500: '#b5aa3e',
    950: '#000000',
  },
}
SCSS
$custom: #b5aa3e;
$custom-light: #cec379;
$custom-dark: #000000;
JSON
{
  "hex": "#b5aa3e",
  "rgb": {
    "r": 181,
    "g": 170,
    "b": 62
  },
  "hsl": {
    "h": 54.454,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72701,
    "c": 0.1278,
    "h": 103.5
  },
  "luminance": 0.38921
}

Semantic roles & 50–950 ramp

primary
#B5AA3E
secondary
#898FC5
accent
#5CD94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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