#B5B855#B5B855

#B5B855 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.0% C 0.123 H 110.6°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#B5B855
RGBrgb(181, 184, 85)
HSLhsl(62, 41%, 53%)
HSVhsv(62, 54%, 72%)
CMYKcmyk(1.6%, 0%, 53.8%, 27.8%)
CIE-LABlab(72.73, -14.66, 49.15)
CIE-LCHlch(72.73, 51.29, 106.61°)
OKLaboklab(75.99% -0.0431 0.1149)
OKLCHoklch(75.99% 0.123 110.6)
XYZxyz(37.8371, 44.7615, 15.2392)
Luminance0.4476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B855 #5855B8
analogous
#B88955 #B5B855 #84B855
triadic
#B5B855 #55B5B8 #B855B5
tetradic
#B5B855 #55B889 #5855B8 #B85584
square
#B5B855 #55B889 #5855B8 #B85584
split-complementary
#B5B855 #5584B8 #8955B8
monochromatic
#66672B #90933D #B5B855 #C8CA80 #DBDCAB

Accessibility & contrast

On white

2.11
#B5B855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#B5B855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B855
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B855#FFFFFF#000000##000000
##B5B8551.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B14B
Deuteranopia (green-blind)
#C6B45A
Tritanopia (blue-blind)
#C0AEA2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b5b855;
/* rgb */ color: rgb(181, 184, 85);
/* oklch */ color: oklch(76.0% 0.123 110.6);
Tailwind
colors: {
  custom: {
    50: '#cdcd88',
    500: '#b5b855',
    950: '#000000',
  },
}
SCSS
$custom: #b5b855;
$custom-light: #cdcd88;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b855",
  "rgb": {
    "r": 181,
    "g": 184,
    "b": 85
  },
  "hsl": {
    "h": 61.818,
    "s": 41.079,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75987,
    "c": 0.12267,
    "h": 110.6
  },
  "luminance": 0.44761
}

Semantic roles & 50–950 ramp

primary
#B5B855
secondary
#A09FCA
accent
#57D15B
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B5B855

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

Preview Lab → · Contrast checker → · Palette generator →

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