#B5AE2F#B5AE2F

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

Color values

HEX#B5AE2F
RGBrgb(181, 174, 47)
HSLhsl(57, 59%, 45%)
HSVhsv(57, 74%, 71%)
CMYKcmyk(0%, 3.9%, 74%, 29%)
CIE-LABlab(69.68, -11.95, 61.79)
CIE-LCHlch(69.68, 62.93, 100.95°)
OKLaboklab(73.46% -0.0395 0.136)
OKLCHoklch(73.46% 0.142 106.2)
XYZxyz(34.7066, 40.3024, 8.6397)
Luminance0.4030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AE2F #2F36B5
analogous
#B56B2F #B5AE2F #79B52F
triadic
#B5AE2F #2FB5AE #AE2FB5
tetradic
#B5AE2F #2FB56B #2F36B5 #B52F79
square
#B5AE2F #2FB56B #2F36B5 #B52F79
split-complementary
#B5AE2F #2F79B5 #6B2FB5
monochromatic
#545116 #847F22 #B5AE2F #D1CB50 #DED980

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AE2F#FFFFFF#000000##000000
##B5AE2F1.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)
#BDA715
Deuteranopia (green-blind)
#C0AD39
Tritanopia (blue-blind)
#C2A296
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b5ae2f;
/* rgb */ color: rgb(181, 174, 47);
/* oklch */ color: oklch(73.5% 0.142 106.2);
Tailwind
colors: {
  custom: {
    50: '#cfc571',
    500: '#b5ae2f',
    950: '#000000',
  },
}
SCSS
$custom: #b5ae2f;
$custom-light: #cfc571;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ae2f",
  "rgb": {
    "r": 181,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 56.866,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73456,
    "c": 0.14159,
    "h": 106.2
  },
  "luminance": 0.40301
}

Semantic roles & 50–950 ramp

primary
#B5AE2F
secondary
#797DC7
accent
#4EE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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