#B5AE2D#B5AE2D

#B5AE2D is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.4% C 0.143 H 106.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#B5AE2D
RGBrgb(181, 174, 45)
HSLhsl(57, 60%, 44%)
HSVhsv(57, 75%, 71%)
CMYKcmyk(0%, 3.9%, 75.1%, 29%)
CIE-LABlab(69.67, -12.04, 62.46)
CIE-LCHlch(69.67, 63.61, 100.91°)
OKLaboklab(73.44% -0.0399 0.137)
OKLCHoklch(73.44% 0.143 106.2)
XYZxyz(34.6672, 40.2866, 8.4321)
Luminance0.4028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AE2D #2D34B5
analogous
#B56A2D #B5AE2D #78B52D
triadic
#B5AE2D #2DB5AE #AE2DB5
tetradic
#B5AE2D #2DB56A #2D34B5 #B52D78
square
#B5AE2D #2DB56A #2D34B5 #B52D78
split-complementary
#B5AE2D #2D78B5 #6A2DB5
monochromatic
#535015 #847F21 #B5AE2D #D3CC4D #DFDA7E

Accessibility & contrast

On white

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

On black

9.06
#B5AE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AE2D
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AE2D#FFFFFF#000000##000000
##B5AE2D1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA711
Deuteranopia (green-blind)
#C0AD37
Tritanopia (blue-blind)
#C3A296
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b5ae2d;
/* rgb */ color: rgb(181, 174, 45);
/* oklch */ color: oklch(73.4% 0.143 106.2);
Tailwind
colors: {
  custom: {
    50: '#cfc570',
    500: '#b5ae2d',
    950: '#000000',
  },
}
SCSS
$custom: #b5ae2d;
$custom-light: #cfc570;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ae2d",
  "rgb": {
    "r": 181,
    "g": 174,
    "b": 45
  },
  "hsl": {
    "h": 56.912,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73444,
    "c": 0.14273,
    "h": 106.2
  },
  "luminance": 0.40285
}

Semantic roles & 50–950 ramp

primary
#B5AE2D
secondary
#767BC7
accent
#4DE344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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