#B5AD2E#B5AD2E

#B5AD2E 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#B5AD2E
RGBrgb(181, 173, 46)
HSLhsl(56, 59%, 45%)
HSVhsv(56, 75%, 71%)
CMYKcmyk(0%, 4.4%, 74.6%, 29%)
CIE-LABlab(69.41, -11.48, 61.87)
CIE-LCHlch(69.41, 62.93, 100.51°)
OKLaboklab(73.23% -0.0382 0.136)
OKLCHoklch(73.23% 0.141 105.7)
XYZxyz(34.4942, 39.9095, 8.4705)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AD2E #2E36B5
analogous
#B5692E #B5AD2E #7AB52E
triadic
#B5AD2E #2EB5AD #AD2EB5
tetradic
#B5AD2E #2EB569 #2E36B5 #B52E7A
square
#B5AD2E #2EB569 #2E36B5 #B52E7A
split-complementary
#B5AD2E #2E7AB5 #692EB5
monochromatic
#535015 #847E22 #B5AD2E #D2CA4E #DED97F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AD2E#FFFFFF#000000##000000
##B5AD2E1.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)
#BCA714
Deuteranopia (green-blind)
#BFAC38
Tritanopia (blue-blind)
#C3A195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b5ad2e;
/* rgb */ color: rgb(181, 173, 46);
/* oklch */ color: oklch(73.2% 0.141 105.7);
Tailwind
colors: {
  custom: {
    50: '#cfc571',
    500: '#b5ad2e',
    950: '#000000',
  },
}
SCSS
$custom: #b5ad2e;
$custom-light: #cfc571;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ad2e",
  "rgb": {
    "r": 181,
    "g": 173,
    "b": 46
  },
  "hsl": {
    "h": 56.444,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73232,
    "c": 0.14124,
    "h": 105.7
  },
  "luminance": 0.39908
}

Semantic roles & 50–950 ramp

primary
#B5AD2E
secondary
#787CC7
accent
#4EE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AD2E

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

Preview Lab → · Contrast checker → · Palette generator →

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