#B5B135#B5B135

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

Color values

HEX#B5B135
RGBrgb(181, 177, 53)
HSLhsl(58, 55%, 46%)
HSVhsv(58, 71%, 71%)
CMYKcmyk(0%, 2.2%, 70.7%, 29%)
CIE-LABlab(70.54, -13.21, 60.45)
CIE-LCHlch(70.54, 61.88, 102.33°)
OKLaboklab(74.15% -0.0424 0.1343)
OKLCHoklch(74.15% 0.141 107.5)
XYZxyz(35.4221, 41.5263, 9.5169)
Luminance0.4153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B135 #3539B5
analogous
#B57135 #B5B135 #79B535
triadic
#B5B135 #35B5B1 #B135B5
tetradic
#B5B135 #35B571 #3539B5 #B53579
square
#B5B135 #35B571 #3539B5 #B53579
split-complementary
#B5B135 #3579B5 #7135B5
monochromatic
#565419 #868327 #B5B135 #CECB59 #DCDA88

Accessibility & contrast

On white

2.26
#B5B135 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B135#FFFFFF#000000##000000
##B5B1351.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA20
Deuteranopia (green-blind)
#C2AF3E
Tritanopia (blue-blind)
#C2A599
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b5b135;
/* rgb */ color: rgb(181, 177, 53);
/* oklch */ color: oklch(74.2% 0.141 107.5);
Tailwind
colors: {
  custom: {
    50: '#cfc874',
    500: '#b5b135',
    950: '#000000',
  },
}
SCSS
$custom: #b5b135;
$custom-light: #cfc874;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b135",
  "rgb": {
    "r": 181,
    "g": 177,
    "b": 53
  },
  "hsl": {
    "h": 58.125,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74152,
    "c": 0.1408,
    "h": 107.5
  },
  "luminance": 0.41525
}

Semantic roles & 50–950 ramp

primary
#B5B135
secondary
#8082C6
accent
#4EDE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B135

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

Preview Lab → · Contrast checker → · Palette generator →

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