#B5B045#B5B045

#B5B045 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.1% C 0.128 H 106.6°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#B5B045
RGBrgb(181, 176, 69)
HSLhsl(57, 45%, 49%)
HSVhsv(57, 62%, 71%)
CMYKcmyk(0%, 2.8%, 61.9%, 29%)
CIE-LABlab(70.39, -11.76, 53.80)
CIE-LCHlch(70.39, 55.07, 102.33°)
OKLaboklab(74.07% -0.0366 0.1228)
OKLCHoklch(74.07% 0.128 106.6)
XYZxyz(35.6568, 41.3052, 11.7235)
Luminance0.4130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B045 #454AB5
analogous
#B57845 #B5B045 #82B545
triadic
#B5B045 #45B5B0 #B045B5
tetradic
#B5B045 #45B578 #454AB5 #B54582
square
#B5B045 #45B578 #454AB5 #B54582
split-complementary
#B5B045 #4582B5 #7845B5
monochromatic
#5C5A23 #898534 #B5B045 #C8C46F #D9D69B

Accessibility & contrast

On white

2.27
#B5B045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#B5B045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B045
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B045#FFFFFF#000000##000000
##B5B0451.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA38
Deuteranopia (green-blind)
#C0AE4B
Tritanopia (blue-blind)
#C1A599
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b5b045;
/* rgb */ color: rgb(181, 176, 69);
/* oklch */ color: oklch(74.1% 0.128 106.6);
Tailwind
colors: {
  custom: {
    50: '#cec77d',
    500: '#b5b045',
    950: '#000000',
  },
}
SCSS
$custom: #b5b045;
$custom-light: #cec77d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b045",
  "rgb": {
    "r": 181,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 57.321,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74068,
    "c": 0.12812,
    "h": 106.6
  },
  "luminance": 0.41304
}

Semantic roles & 50–950 ramp

primary
#B5B045
secondary
#9193C5
accent
#59D553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B5B045

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

Preview Lab → · Contrast checker → · Palette generator →

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