#B5B726#B5B726

#B5B726 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.4% C 0.155 H 110.4°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#B5B726
RGBrgb(181, 183, 38)
HSLhsl(61, 66%, 43%)
HSVhsv(61, 79%, 72%)
CMYKcmyk(1.1%, 0%, 79.2%, 28.2%)
CIE-LABlab(72.12, -16.91, 66.85)
CIE-LCHlch(72.12, 68.96, 104.19°)
OKLaboklab(75.38% -0.0541 0.1451)
OKLCHoklch(75.38% 0.155 110.4)
XYZxyz(36.3407, 43.8317, 8.3794)
Luminance0.4383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B726 #2826B7
analogous
#B77126 #B5B726 #6CB726
triadic
#B5B726 #26B5B7 #B726B5
tetradic
#B5B726 #26B771 #2826B7 #B7266C
square
#B5B726 #26B771 #2826B7 #B7266C
split-complementary
#B5B726 #266CB7 #7126B7
monochromatic
#515211 #83841B #B5B726 #D6D842 #E1E275

Accessibility & contrast

On white

2.15
#B5B726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#B5B726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B726
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B726#FFFFFF#000000##000000
##B5B7261.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C7B333
Tritanopia (blue-blind)
#C2AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b5b726;
/* rgb */ color: rgb(181, 183, 38);
/* oklch */ color: oklch(75.4% 0.155 110.4);
Tailwind
colors: {
  custom: {
    50: '#cfcc6e',
    500: '#b5b726',
    950: '#000000',
  },
}
SCSS
$custom: #b5b726;
$custom-light: #cfcc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b726",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 38
  },
  "hsl": {
    "h": 60.828,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.75383,
    "c": 0.15487,
    "h": 110.4
  },
  "luminance": 0.43831
}

Semantic roles & 50–950 ramp

primary
#B5B726
secondary
#706FCA
accent
#3FE942
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B726

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

Preview Lab → · Contrast checker → · Palette generator →

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