#B5A63B#B5A63B

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

Color values

HEX#B5A63B
RGBrgb(181, 166, 59)
HSLhsl(53, 51%, 47%)
HSVhsv(53, 67%, 71%)
CMYKcmyk(0%, 8.3%, 67.4%, 29%)
CIE-LABlab(67.59, -7.16, 55.11)
CIE-LCHlch(67.59, 55.58, 97.40°)
OKLaboklab(71.81% -0.0247 0.124)
OKLCHoklch(71.81% 0.126 101.3)
XYZxyz(33.4831, 37.4134, 9.5946)
Luminance0.3741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A63B #3B4AB5
analogous
#B5693B #B5A63B #87B53B
triadic
#B5A63B #3BB5A6 #A63BB5
tetradic
#B5A63B #3BB569 #3B4AB5 #B53B87
square
#B5A63B #3BB569 #3B4AB5 #B53B87
split-complementary
#B5A63B #3B87B5 #693BB5
monochromatic
#59511D #877C2C #B5A63B #CCBF62 #DBD190

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5A63B#FFFFFF#000000##000000
##B5A63B1.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)
#B5A12D
Deuteranopia (green-blind)
#B9A741
Tritanopia (blue-blind)
#C39A90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b5a63b;
/* rgb */ color: rgb(181, 166, 59);
/* oklch */ color: oklch(71.8% 0.126 101.3);
Tailwind
colors: {
  custom: {
    50: '#cec077',
    500: '#b5a63b',
    950: '#000000',
  },
}
SCSS
$custom: #b5a63b;
$custom-light: #cec077;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a63b",
  "rgb": {
    "r": 181,
    "g": 166,
    "b": 59
  },
  "hsl": {
    "h": 52.623,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71813,
    "c": 0.12644,
    "h": 101.3
  },
  "luminance": 0.37412
}

Semantic roles & 50–950 ramp

primary
#B5A63B
secondary
#868EC6
accent
#5FDA4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A63B

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

Preview Lab → · Contrast checker → · Palette generator →

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