#B5B438#B5B438

#B5B438 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.142 H 108.9°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#B5B438
RGBrgb(181, 180, 56)
HSLhsl(60, 53%, 46%)
HSVhsv(60, 69%, 71%)
CMYKcmyk(0%, 0.6%, 69.1%, 29%)
CIE-LABlab(71.39, -14.60, 60.16)
CIE-LCHlch(71.39, 61.90, 103.64°)
OKLaboklab(74.83% -0.046 0.1341)
OKLCHoklch(74.83% 0.142 108.9)
XYZxyz(36.0924, 42.7529, 10.0915)
Luminance0.4275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B438 #3839B5
analogous
#B57638 #B5B438 #78B538
triadic
#B5B438 #38B5B4 #B438B5
tetradic
#B5B438 #38B576 #3839B5 #B53878
square
#B5B438 #38B576 #3839B5 #B53878
split-complementary
#B5B438 #3878B5 #7638B5
monochromatic
#58571B #86862A #B5B438 #CDCC5D #DBDB8C

Accessibility & contrast

On white

2.20
#B5B438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#B5B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B438
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B438#FFFFFF#000000##000000
##B5B4381.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD24
Deuteranopia (green-blind)
#C4B141
Tritanopia (blue-blind)
#C2A99B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b5b438;
/* rgb */ color: rgb(181, 180, 56);
/* oklch */ color: oklch(74.8% 0.142 108.9);
Tailwind
colors: {
  custom: {
    50: '#ceca76',
    500: '#b5b438',
    950: '#000000',
  },
}
SCSS
$custom: #b5b438;
$custom-light: #ceca76;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b438",
  "rgb": {
    "r": 181,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 59.52,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74832,
    "c": 0.14181,
    "h": 108.9
  },
  "luminance": 0.42752
}

Semantic roles & 50–950 ramp

primary
#B5B438
secondary
#8383C6
accent
#4DDC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B438

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

Preview Lab → · Contrast checker → · Palette generator →

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