#B5AD3E#B5AD3E

#B5AD3E is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.4% C 0.131 H 105.2°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#B5AD3E
RGBrgb(181, 173, 62)
HSLhsl(56, 49%, 48%)
HSVhsv(56, 66%, 71%)
CMYKcmyk(0%, 4.4%, 65.7%, 29%)
CIE-LABlab(69.51, -10.65, 55.86)
CIE-LCHlch(69.51, 56.87, 100.79°)
OKLaboklab(73.35% -0.0342 0.1261)
OKLCHoklch(73.35% 0.131 105.2)
XYZxyz(34.8704, 40.0599, 10.4520)
Luminance0.4006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AD3E #3E46B5
analogous
#B5713E #B5AD3E #82B53E
triadic
#B5AD3E #3EB5AD #AD3EB5
tetradic
#B5AD3E #3EB571 #3E46B5 #B53E82
square
#B5AD3E #3EB571 #3E46B5 #B53E82
split-complementary
#B5AD3E #3E82B5 #713EB5
monochromatic
#5A561F #87812E #B5AD3E #CAC466 #DAD593

Accessibility & contrast

On white

2.33
#B5AD3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#B5AD3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AD3E
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AD3E#FFFFFF#000000##000000
##B5AD3E1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72F
Deuteranopia (green-blind)
#BFAC45
Tritanopia (blue-blind)
#C2A296
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b5ad3e;
/* rgb */ color: rgb(181, 173, 62);
/* oklch */ color: oklch(73.4% 0.131 105.2);
Tailwind
colors: {
  custom: {
    50: '#cec579',
    500: '#b5ad3e',
    950: '#000000',
  },
}
SCSS
$custom: #b5ad3e;
$custom-light: #cec579;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ad3e",
  "rgb": {
    "r": 181,
    "g": 173,
    "b": 62
  },
  "hsl": {
    "h": 55.966,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73351,
    "c": 0.13064,
    "h": 105.2
  },
  "luminance": 0.40059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5AD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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