#B5B034#B5B034

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

Color values

HEX#B5B034
RGBrgb(181, 176, 52)
HSLhsl(58, 55%, 46%)
HSVhsv(58, 71%, 71%)
CMYKcmyk(0%, 2.8%, 71.3%, 29%)
CIE-LABlab(70.26, -12.75, 60.55)
CIE-LCHlch(70.26, 61.88, 101.89°)
OKLaboklab(73.93% -0.0412 0.1343)
OKLCHoklch(73.93% 0.14 107.1)
XYZxyz(35.2026, 41.1236, 9.3315)
Luminance0.4112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B034 #3439B5
analogous
#B56F34 #B5B034 #7AB534
triadic
#B5B034 #34B5B0 #B034B5
tetradic
#B5B034 #34B56F #3439B5 #B5347A
square
#B5B034 #34B56F #3439B5 #B5347A
split-complementary
#B5B034 #347AB5 #6F34B5
monochromatic
#565419 #858226 #B5B034 #CFCA57 #DCD987

Accessibility & contrast

On white

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

On black

9.22
#B5B034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B034
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B034#FFFFFF#000000##000000
##B5B0341.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5b034;
/* rgb */ color: rgb(181, 176, 52);
/* oklch */ color: oklch(73.9% 0.140 107.1);
Tailwind
colors: {
  custom: {
    50: '#cfc774',
    500: '#b5b034',
    950: '#000000',
  },
}
SCSS
$custom: #b5b034;
$custom-light: #cfc774;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b034",
  "rgb": {
    "r": 181,
    "g": 176,
    "b": 52
  },
  "hsl": {
    "h": 57.674,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73926,
    "c": 0.14045,
    "h": 107.1
  },
  "luminance": 0.41122
}

Semantic roles & 50–950 ramp

primary
#B5B034
secondary
#7F81C6
accent
#4FDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B034

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

Preview Lab → · Contrast checker → · Palette generator →

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