#B5AE35#B5AE35

#B5AE35 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.5% C 0.138 H 106.0°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#B5AE35
RGBrgb(181, 174, 53)
HSLhsl(57, 55%, 46%)
HSVhsv(57, 71%, 71%)
CMYKcmyk(0%, 3.9%, 70.7%, 29%)
CIE-LABlab(69.72, -11.67, 59.65)
CIE-LCHlch(69.72, 60.78, 101.07°)
OKLaboklab(73.5% -0.0381 0.1326)
OKLCHoklch(73.5% 0.138 106)
XYZxyz(34.8361, 40.3542, 9.3216)
Luminance0.4035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AE35 #353CB5
analogous
#B56E35 #B5AE35 #7CB535
triadic
#B5AE35 #35B5AE #AE35B5
tetradic
#B5AE35 #35B56E #353CB5 #B5357C
square
#B5AE35 #35B56E #353CB5 #B5357C
split-complementary
#B5AE35 #357CB5 #6E35B5
monochromatic
#565319 #868027 #B5AE35 #CEC859 #DCD888

Accessibility & contrast

On white

2.32
#B5AE35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#B5AE35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AE35
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AE35#FFFFFF#000000##000000
##B5AE351.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5ae35;
/* rgb */ color: rgb(181, 174, 53);
/* oklch */ color: oklch(73.5% 0.138 106.0);
Tailwind
colors: {
  custom: {
    50: '#cfc574',
    500: '#b5ae35',
    950: '#000000',
  },
}
SCSS
$custom: #b5ae35;
$custom-light: #cfc574;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ae35",
  "rgb": {
    "r": 181,
    "g": 174,
    "b": 53
  },
  "hsl": {
    "h": 56.719,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73497,
    "c": 0.13791,
    "h": 106
  },
  "luminance": 0.40353
}

Semantic roles & 50–950 ramp

primary
#B5AE35
secondary
#8083C6
accent
#52DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AE35

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

Preview Lab → · Contrast checker → · Palette generator →

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