#B5B035#B5B035

#B5B035 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.9% C 0.140 H 107.0°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#B5B035
RGBrgb(181, 176, 53)
HSLhsl(58, 55%, 46%)
HSVhsv(58, 71%, 71%)
CMYKcmyk(0%, 2.8%, 70.7%, 29%)
CIE-LABlab(70.27, -12.70, 60.19)
CIE-LCHlch(70.27, 61.51, 101.91°)
OKLaboklab(73.93% -0.041 0.1337)
OKLCHoklch(73.93% 0.14 107)
XYZxyz(35.2253, 41.1327, 9.4513)
Luminance0.4113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B035 #353AB5
analogous
#B57035 #B5B035 #7AB535
triadic
#B5B035 #35B5B0 #B035B5
tetradic
#B5B035 #35B570 #353AB5 #B5357A
square
#B5B035 #35B570 #353AB5 #B5357A
split-complementary
#B5B035 #357AB5 #7035B5
monochromatic
#565419 #868227 #B5B035 #CECA59 #DCD988

Accessibility & contrast

On white

2.28
#B5B035 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#B5B035 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B035
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B035#FFFFFF#000000##000000
##B5B0351.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA920
Deuteranopia (green-blind)
#C1AE3E
Tritanopia (blue-blind)
#C2A498
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b5b035;
/* rgb */ color: rgb(181, 176, 53);
/* oklch */ color: oklch(73.9% 0.140 107.0);
Tailwind
colors: {
  custom: {
    50: '#cfc774',
    500: '#b5b035',
    950: '#000000',
  },
}
SCSS
$custom: #b5b035;
$custom-light: #cfc774;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b035",
  "rgb": {
    "r": 181,
    "g": 176,
    "b": 53
  },
  "hsl": {
    "h": 57.656,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73933,
    "c": 0.13982,
    "h": 107
  },
  "luminance": 0.41131
}

Semantic roles & 50–950 ramp

primary
#B5B035
secondary
#8082C6
accent
#50DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B035

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

Preview Lab → · Contrast checker → · Palette generator →

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