#B5A43B#B5A43B

#B5A43B is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.4% C 0.125 H 100.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B5A43B
RGBrgb(181, 164, 59)
HSLhsl(52, 51%, 47%)
HSVhsv(52, 67%, 71%)
CMYKcmyk(0%, 9.4%, 67.4%, 29%)
CIE-LABlab(67.05, -6.10, 54.56)
CIE-LCHlch(67.05, 54.90, 96.38°)
OKLaboklab(71.38% -0.0217 0.1228)
OKLCHoklch(71.38% 0.125 100)
XYZxyz(33.1224, 36.6919, 9.4744)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A43B #3B4CB5
analogous
#B5673B #B5A43B #89B53B
triadic
#B5A43B #3BB5A4 #A43BB5
tetradic
#B5A43B #3BB567 #3B4CB5 #B53B89
square
#B5A43B #3BB567 #3B4CB5 #B53B89
split-complementary
#B5A43B #3B89B5 #673BB5
monochromatic
#59501D #877A2C #B5A43B #CCBD62 #DBD090

Accessibility & contrast

On white

2.52
#B5A43B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B5A43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A43B
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A43B#FFFFFF#000000##000000
##B5A43B1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A02D
Deuteranopia (green-blind)
#B8A641
Tritanopia (blue-blind)
#C3988E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b5a43b;
/* rgb */ color: rgb(181, 164, 59);
/* oklch */ color: oklch(71.4% 0.125 100.0);
Tailwind
colors: {
  custom: {
    50: '#cebe77',
    500: '#b5a43b',
    950: '#000000',
  },
}
SCSS
$custom: #b5a43b;
$custom-light: #cebe77;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a43b",
  "rgb": {
    "r": 181,
    "g": 164,
    "b": 59
  },
  "hsl": {
    "h": 51.639,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71384,
    "c": 0.12473,
    "h": 100
  },
  "luminance": 0.3669
}

Semantic roles & 50–950 ramp

primary
#B5A43B
secondary
#868FC6
accent
#61DA4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A43B

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

Preview Lab → · Contrast checker → · Palette generator →

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