#B5A03E#B5A03E

#B5A03E is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.6% C 0.119 H 97.1°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B5A03E
RGBrgb(181, 160, 62)
HSLhsl(49, 49%, 48%)
HSVhsv(49, 66%, 71%)
CMYKcmyk(0%, 11.6%, 65.7%, 29%)
CIE-LABlab(65.99, -3.79, 52.16)
CIE-LCHlch(65.99, 52.30, 94.15°)
OKLaboklab(70.56% -0.0147 0.1183)
OKLCHoklch(70.56% 0.119 97.1)
XYZxyz(32.4978, 35.3147, 9.6612)
Luminance0.3531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A03E #3E53B5
analogous
#B5653E #B5A03E #8EB53E
triadic
#B5A03E #3EB5A0 #A03EB5
tetradic
#B5A03E #3EB565 #3E53B5 #B53E8E
square
#B5A03E #3EB565 #3E53B5 #B53E8E
split-complementary
#B5A03E #3E8EB5 #653EB5
monochromatic
#5A4F1F #87782E #B5A03E #CAB966 #DACE93

Accessibility & contrast

On white

2.60
#B5A03E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B5A03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A03E
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A03E#FFFFFF#000000##000000
##B5A03E1.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C32
Deuteranopia (green-blind)
#B5A343
Tritanopia (blue-blind)
#C3948B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b5a03e;
/* rgb */ color: rgb(181, 160, 62);
/* oklch */ color: oklch(70.6% 0.119 97.1);
Tailwind
colors: {
  custom: {
    50: '#cebb78',
    500: '#b5a03e',
    950: '#000000',
  },
}
SCSS
$custom: #b5a03e;
$custom-light: #cebb78;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a03e",
  "rgb": {
    "r": 181,
    "g": 160,
    "b": 62
  },
  "hsl": {
    "h": 49.412,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70557,
    "c": 0.11917,
    "h": 97.1
  },
  "luminance": 0.35313
}

Semantic roles & 50–950 ramp

primary
#B5A03E
secondary
#8994C5
accent
#67D94F
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B5A03E

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

Preview Lab → · Contrast checker → · Palette generator →

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