#B5AE3E#B5AE3E

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

Color values

HEX#B5AE3E
RGBrgb(181, 174, 62)
HSLhsl(56, 49%, 48%)
HSVhsv(56, 66%, 71%)
CMYKcmyk(0%, 3.9%, 65.7%, 29%)
CIE-LABlab(69.79, -11.17, 56.14)
CIE-LCHlch(69.79, 57.24, 101.25°)
OKLaboklab(73.57% -0.0357 0.1267)
OKLCHoklch(73.57% 0.132 105.7)
XYZxyz(35.0629, 40.4449, 10.5162)
Luminance0.4044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AE3E #3E45B5
analogous
#B5733E #B5AE3E #80B53E
triadic
#B5AE3E #3EB5AE #AE3EB5
tetradic
#B5AE3E #3EB573 #3E45B5 #B53E80
square
#B5AE3E #3EB573 #3E45B5 #B53E80
split-complementary
#B5AE3E #3E80B5 #733EB5
monochromatic
#5A561F #87822E #B5AE3E #CAC566 #DAD693

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AE3E#FFFFFF#000000##000000
##B5AE3E1.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)
#BDA82F
Deuteranopia (green-blind)
#BFAD45
Tritanopia (blue-blind)
#C2A397
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b5ae3e;
/* rgb */ color: rgb(181, 174, 62);
/* oklch */ color: oklch(73.6% 0.132 105.7);
Tailwind
colors: {
  custom: {
    50: '#cec579',
    500: '#b5ae3e',
    950: '#000000',
  },
}
SCSS
$custom: #b5ae3e;
$custom-light: #cec579;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ae3e",
  "rgb": {
    "r": 181,
    "g": 174,
    "b": 62
  },
  "hsl": {
    "h": 56.471,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73569,
    "c": 0.13161,
    "h": 105.7
  },
  "luminance": 0.40444
}

Semantic roles & 50–950 ramp

primary
#B5AE3E
secondary
#898DC5
accent
#57D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AE3E

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

Preview Lab → · Contrast checker → · Palette generator →

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