#B5A93A#B5A93A

#B5A93A is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.5% C 0.130 H 103.1°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#B5A93A
RGBrgb(181, 169, 58)
HSLhsl(54, 51%, 47%)
HSVhsv(54, 68%, 71%)
CMYKcmyk(0%, 6.6%, 68%, 29%)
CIE-LABlab(68.39, -8.79, 56.35)
CIE-LCHlch(68.39, 57.04, 98.87°)
OKLaboklab(72.45% -0.0294 0.1265)
OKLCHoklch(72.45% 0.13 103.1)
XYZxyz(34.0091, 38.5065, 9.6433)
Luminance0.3851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A93A #3A46B5
analogous
#B56B3A #B5A93A #84B53A
triadic
#B5A93A #3AB5A9 #A93AB5
tetradic
#B5A93A #3AB56B #3A46B5 #B53A84
square
#B5A93A #3AB56B #3A46B5 #B53A84
split-complementary
#B5A93A #3A84B5 #6B3AB5
monochromatic
#58521C #877E2B #B5A93A #CCC260 #DBD38E

Accessibility & contrast

On white

2.41
#B5A93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#B5A93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A93A
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A93A#FFFFFF#000000##000000
##B5A93A1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42A
Deuteranopia (green-blind)
#BCA941
Tritanopia (blue-blind)
#C29D92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b5a93a;
/* rgb */ color: rgb(181, 169, 58);
/* oklch */ color: oklch(72.5% 0.130 103.1);
Tailwind
colors: {
  custom: {
    50: '#cec276',
    500: '#b5a93a',
    950: '#000000',
  },
}
SCSS
$custom: #b5a93a;
$custom-light: #cec276;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a93a",
  "rgb": {
    "r": 181,
    "g": 169,
    "b": 58
  },
  "hsl": {
    "h": 54.146,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72451,
    "c": 0.12984,
    "h": 103.1
  },
  "luminance": 0.38505
}

Semantic roles & 50–950 ramp

primary
#B5A93A
secondary
#858BC6
accent
#5BDB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A93A

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

Preview Lab → · Contrast checker → · Palette generator →

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