#B5AD2A#B5AD2A

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

Color values

HEX#B5AD2A
RGBrgb(181, 173, 42)
HSLhsl(57, 62%, 44%)
HSVhsv(57, 77%, 71%)
CMYKcmyk(0%, 4.4%, 76.8%, 29%)
CIE-LABlab(69.38, -11.64, 63.19)
CIE-LCHlch(69.38, 64.25, 100.44°)
OKLaboklab(73.21% -0.0391 0.138)
OKLCHoklch(73.21% 0.143 105.8)
XYZxyz(34.4190, 39.8794, 8.0745)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AD2A #2A32B5
analogous
#B5672A #B5AD2A #77B52A
triadic
#B5AD2A #2AB5AD #AD2AB5
tetradic
#B5AD2A #2AB567 #2A32B5 #B52A77
square
#B5AD2A #2AB567 #2A32B5 #B52A77
split-complementary
#B5AD2A #2A77B5 #672AB5
monochromatic
#524E13 #837E1E #B5AD2A #D4CC48 #E0DA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AD2A#FFFFFF#000000##000000
##B5AD2A1.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)
#BCA608
Deuteranopia (green-blind)
#C0AC34
Tritanopia (blue-blind)
#C3A194
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b5ad2a;
/* rgb */ color: rgb(181, 173, 42);
/* oklch */ color: oklch(73.2% 0.143 105.8);
Tailwind
colors: {
  custom: {
    50: '#cfc56f',
    500: '#b5ad2a',
    950: '#000000',
  },
}
SCSS
$custom: #b5ad2a;
$custom-light: #cfc56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ad2a",
  "rgb": {
    "r": 181,
    "g": 173,
    "b": 42
  },
  "hsl": {
    "h": 56.547,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73208,
    "c": 0.14344,
    "h": 105.8
  },
  "luminance": 0.39878
}

Semantic roles & 50–950 ramp

primary
#B5AD2A
secondary
#7378C8
accent
#4CE542
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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