#B5AE3F#B5AE3F

#B5AE3F is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.6% C 0.131 H 105.7°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#B5AE3F
RGBrgb(181, 174, 63)
HSLhsl(56, 48%, 48%)
HSVhsv(56, 65%, 71%)
CMYKcmyk(0%, 3.9%, 65.2%, 29%)
CIE-LABlab(69.79, -11.11, 55.73)
CIE-LCHlch(69.79, 56.83, 101.27°)
OKLaboklab(73.58% -0.0354 0.126)
OKLCHoklch(73.58% 0.131 105.7)
XYZxyz(35.0906, 40.4560, 10.6620)
Luminance0.4046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AE3F #3F46B5
analogous
#B5733F #B5AE3F #81B53F
triadic
#B5AE3F #3FB5AE #AE3FB5
tetradic
#B5AE3F #3FB573 #3F46B5 #B53F81
square
#B5AE3F #3FB573 #3F46B5 #B53F81
split-complementary
#B5AE3F #3F81B5 #733FB5
monochromatic
#5A571F #88822F #B5AE3F #CAC467 #DAD694

Accessibility & contrast

On white

2.31
#B5AE3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#B5AE3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AE3F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AE3F#FFFFFF#000000##000000
##B5AE3F1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA830
Deuteranopia (green-blind)
#BFAD46
Tritanopia (blue-blind)
#C2A397
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b5ae3f;
/* rgb */ color: rgb(181, 174, 63);
/* oklch */ color: oklch(73.6% 0.131 105.7);
Tailwind
colors: {
  custom: {
    50: '#cec57a',
    500: '#b5ae3f',
    950: '#000000',
  },
}
SCSS
$custom: #b5ae3f;
$custom-light: #cec57a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ae3f",
  "rgb": {
    "r": 181,
    "g": 174,
    "b": 63
  },
  "hsl": {
    "h": 56.441,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73577,
    "c": 0.13086,
    "h": 105.7
  },
  "luminance": 0.40455
}

Semantic roles & 50–950 ramp

primary
#B5AE3F
secondary
#8A8EC5
accent
#58D850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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