#B5A63A#B5A63A

#B5A63A is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.127 H 101.3°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#B5A63A
RGBrgb(181, 166, 58)
HSLhsl(53, 51%, 47%)
HSVhsv(53, 68%, 71%)
CMYKcmyk(0%, 8.3%, 68%, 29%)
CIE-LABlab(67.58, -7.21, 55.52)
CIE-LCHlch(67.58, 55.99, 97.40°)
OKLaboklab(71.8% -0.0249 0.1247)
OKLCHoklch(71.8% 0.127 101.3)
XYZxyz(33.4574, 37.4031, 9.4593)
Luminance0.3740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A63A #3A49B5
analogous
#B5693A #B5A63A #87B53A
triadic
#B5A63A #3AB5A6 #A63AB5
tetradic
#B5A63A #3AB569 #3A49B5 #B53A87
square
#B5A63A #3AB569 #3A49B5 #B53A87
split-complementary
#B5A63A #3A87B5 #693AB5
monochromatic
#58511C #877B2B #B5A63A #CCBF60 #DBD28E

Accessibility & contrast

On white

2.48
#B5A63A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#B5A63A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A63A
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A63A#FFFFFF#000000##000000
##B5A63A1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12B
Deuteranopia (green-blind)
#BAA740
Tritanopia (blue-blind)
#C39A90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b5a63a;
/* rgb */ color: rgb(181, 166, 58);
/* oklch */ color: oklch(71.8% 0.127 101.3);
Tailwind
colors: {
  custom: {
    50: '#cec076',
    500: '#b5a63a',
    950: '#000000',
  },
}
SCSS
$custom: #b5a63a;
$custom-light: #cec076;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a63a",
  "rgb": {
    "r": 181,
    "g": 166,
    "b": 58
  },
  "hsl": {
    "h": 52.683,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.71804,
    "c": 0.12717,
    "h": 101.3
  },
  "luminance": 0.37402
}

Semantic roles & 50–950 ramp

primary
#B5A63A
secondary
#858DC6
accent
#5EDB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A63A

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

Preview Lab → · Contrast checker → · Palette generator →

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