#B5B73E#B5B73E

#B5B73E is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.5% C 0.141 H 110.3°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#B5B73E
RGBrgb(181, 183, 62)
HSLhsl(61, 49%, 48%)
HSVhsv(61, 66%, 72%)
CMYKcmyk(1.1%, 0%, 66.1%, 28.2%)
CIE-LABlab(72.25, -15.79, 58.69)
CIE-LCHlch(72.25, 60.78, 105.06°)
OKLaboklab(75.54% -0.0487 0.1321)
OKLCHoklch(75.54% 0.141 110.3)
XYZxyz(36.8602, 44.0395, 11.1153)
Luminance0.4404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B73E #403EB7
analogous
#B77C3E #B5B73E #78B73E
triadic
#B5B73E #3EB5B7 #B73EB5
tetradic
#B5B73E #3EB77C #403EB7 #B73E78
square
#B5B73E #3EB77C #403EB7 #B73E78
split-complementary
#B5B73E #3E78B7 #7C3EB7
monochromatic
#5B5C1F #88892F #B5B73E #CACB67 #DADB94

Accessibility & contrast

On white

2.14
#B5B73E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#B5B73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B73E
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B73E#FFFFFF#000000##000000
##B5B73E1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2D
Deuteranopia (green-blind)
#C6B346
Tritanopia (blue-blind)
#C1AC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b5b73e;
/* rgb */ color: rgb(181, 183, 62);
/* oklch */ color: oklch(75.5% 0.141 110.3);
Tailwind
colors: {
  custom: {
    50: '#cecc7a',
    500: '#b5b73e',
    950: '#000000',
  },
}
SCSS
$custom: #b5b73e;
$custom-light: #cecc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b73e",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 62
  },
  "hsl": {
    "h": 60.992,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.75538,
    "c": 0.14076,
    "h": 110.3
  },
  "luminance": 0.44039
}

Semantic roles & 50–950 ramp

primary
#B5B73E
secondary
#8B8AC6
accent
#4FD951
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B5B73E

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

Preview Lab → · Contrast checker → · Palette generator →

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