#B5B13A#B5B13A

#B5B13A is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.2% C 0.137 H 107.4°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#B5B13A
RGBrgb(181, 177, 58)
HSLhsl(58, 51%, 47%)
HSVhsv(58, 68%, 71%)
CMYKcmyk(0%, 2.2%, 68%, 29%)
CIE-LABlab(70.58, -12.95, 58.57)
CIE-LCHlch(70.58, 59.99, 102.47°)
OKLaboklab(74.19% -0.0412 0.1311)
OKLCHoklch(74.19% 0.137 107.4)
XYZxyz(35.5432, 41.5747, 10.1546)
Luminance0.4157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B13A #3A3EB5
analogous
#B5743A #B5B13A #7CB53A
triadic
#B5B13A #3AB5B1 #B13AB5
tetradic
#B5B13A #3AB574 #3A3EB5 #B53A7C
square
#B5B13A #3AB574 #3A3EB5 #B53A7C
split-complementary
#B5B13A #3A7CB5 #743AB5
monochromatic
#58561C #87842B #B5B13A #CCC960 #DBD88E

Accessibility & contrast

On white

2.25
#B5B13A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#B5B13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B13A
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B13A#FFFFFF#000000##000000
##B5B13A1.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA28
Deuteranopia (green-blind)
#C2AF42
Tritanopia (blue-blind)
#C2A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b5b13a;
/* rgb */ color: rgb(181, 177, 58);
/* oklch */ color: oklch(74.2% 0.137 107.4);
Tailwind
colors: {
  custom: {
    50: '#cec877',
    500: '#b5b13a',
    950: '#000000',
  },
}
SCSS
$custom: #b5b13a;
$custom-light: #cec877;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b13a",
  "rgb": {
    "r": 181,
    "g": 177,
    "b": 58
  },
  "hsl": {
    "h": 58.049,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7419,
    "c": 0.13745,
    "h": 107.4
  },
  "luminance": 0.41574
}

Semantic roles & 50–950 ramp

primary
#B5B13A
secondary
#8587C6
accent
#51DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B13A

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

Preview Lab → · Contrast checker → · Palette generator →

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