#B5AD2F#B5AD2F

#B5AD2F is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.2% C 0.141 H 105.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#B5AD2F
RGBrgb(181, 173, 47)
HSLhsl(56, 59%, 45%)
HSVhsv(56, 74%, 71%)
CMYKcmyk(0%, 4.4%, 74%, 29%)
CIE-LABlab(69.41, -11.43, 61.53)
CIE-LCHlch(69.41, 62.58, 100.53°)
OKLaboklab(73.24% -0.038 0.1354)
OKLCHoklch(73.24% 0.141 105.7)
XYZxyz(34.5141, 39.9174, 8.5756)
Luminance0.3992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AD2F #2F37B5
analogous
#B56A2F #B5AD2F #7AB52F
triadic
#B5AD2F #2FB5AD #AD2FB5
tetradic
#B5AD2F #2FB56A #2F37B5 #B52F7A
square
#B5AD2F #2FB56A #2F37B5 #B52F7A
split-complementary
#B5AD2F #2F7AB5 #6A2FB5
monochromatic
#545016 #847F22 #B5AD2F #D1CA50 #DED980

Accessibility & contrast

On white

2.34
#B5AD2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#B5AD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AD2F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AD2F#FFFFFF#000000##000000
##B5AD2F1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA716
Deuteranopia (green-blind)
#BFAC38
Tritanopia (blue-blind)
#C3A195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b5ad2f;
/* rgb */ color: rgb(181, 173, 47);
/* oklch */ color: oklch(73.2% 0.141 105.7);
Tailwind
colors: {
  custom: {
    50: '#cfc571',
    500: '#b5ad2f',
    950: '#000000',
  },
}
SCSS
$custom: #b5ad2f;
$custom-light: #cfc571;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ad2f",
  "rgb": {
    "r": 181,
    "g": 173,
    "b": 47
  },
  "hsl": {
    "h": 56.418,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73238,
    "c": 0.14066,
    "h": 105.7
  },
  "luminance": 0.39916
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5AD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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