#B5A63F#B5A63F

#B5A63F is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.8% C 0.123 H 101.0°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#B5A63F
RGBrgb(181, 166, 63)
HSLhsl(52, 48%, 48%)
HSVhsv(52, 65%, 71%)
CMYKcmyk(0%, 8.3%, 65.2%, 29%)
CIE-LABlab(67.62, -6.92, 53.45)
CIE-LCHlch(67.62, 53.89, 97.37°)
OKLaboklab(71.85% -0.0235 0.1211)
OKLCHoklch(71.85% 0.123 101)
XYZxyz(33.5909, 37.4565, 10.1621)
Luminance0.3745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A63F #3F4EB5
analogous
#B56B3F #B5A63F #89B53F
triadic
#B5A63F #3FB5A6 #A63FB5
tetradic
#B5A63F #3FB56B #3F4EB5 #B53F89
square
#B5A63F #3FB56B #3F4EB5 #B53F89
split-complementary
#B5A63F #3F89B5 #6B3FB5
monochromatic
#5A531F #887C2F #B5A63F #CABE67 #DAD194

Accessibility & contrast

On white

2.47
#B5A63F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#B5A63F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A63F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A63F#FFFFFF#000000##000000
##B5A63F1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A132
Deuteranopia (green-blind)
#B9A745
Tritanopia (blue-blind)
#C29B90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b5a63f;
/* rgb */ color: rgb(181, 166, 63);
/* oklch */ color: oklch(71.8% 0.123 101.0);
Tailwind
colors: {
  custom: {
    50: '#cec079',
    500: '#b5a63f',
    950: '#000000',
  },
}
SCSS
$custom: #b5a63f;
$custom-light: #cec079;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a63f",
  "rgb": {
    "r": 181,
    "g": 166,
    "b": 63
  },
  "hsl": {
    "h": 52.373,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71848,
    "c": 0.1234,
    "h": 101
  },
  "luminance": 0.37455
}

Semantic roles & 50–950 ramp

primary
#B5A63F
secondary
#8A92C5
accent
#61D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A63F

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

Preview Lab → · Contrast checker → · Palette generator →

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