#B5B335#B5B335

#B5B335 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.6% C 0.143 H 108.5°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#B5B335
RGBrgb(181, 179, 53)
HSLhsl(59, 55%, 46%)
HSVhsv(59, 71%, 71%)
CMYKcmyk(0%, 1.1%, 70.7%, 29%)
CIE-LABlab(71.09, -14.24, 60.99)
CIE-LCHlch(71.09, 62.63, 103.14°)
OKLaboklab(74.59% -0.0453 0.1354)
OKLCHoklch(74.59% 0.143 108.5)
XYZxyz(35.8201, 42.3221, 9.6496)
Luminance0.4232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B335 #3537B5
analogous
#B57335 #B5B335 #77B535
triadic
#B5B335 #35B5B3 #B335B5
tetradic
#B5B335 #35B573 #3537B5 #B53577
square
#B5B335 #35B573 #3537B5 #B53577
split-complementary
#B5B335 #3577B5 #7335B5
monochromatic
#565519 #868427 #B5B335 #CECD59 #DCDB88

Accessibility & contrast

On white

2.22
#B5B335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#B5B335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B335
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B335#FFFFFF#000000##000000
##B5B3351.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1F
Deuteranopia (green-blind)
#C4B03E
Tritanopia (blue-blind)
#C2A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b5b335;
/* rgb */ color: rgb(181, 179, 53);
/* oklch */ color: oklch(74.6% 0.143 108.5);
Tailwind
colors: {
  custom: {
    50: '#cfc975',
    500: '#b5b335',
    950: '#000000',
  },
}
SCSS
$custom: #b5b335;
$custom-light: #cfc975;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b335",
  "rgb": {
    "r": 181,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 59.062,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7459,
    "c": 0.14276,
    "h": 108.5
  },
  "luminance": 0.42321
}

Semantic roles & 50–950 ramp

primary
#B5B335
secondary
#8081C6
accent
#4CDE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B335

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

Preview Lab → · Contrast checker → · Palette generator →

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