#B5B030#B5B030

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

Color values

HEX#B5B030
RGBrgb(181, 176, 48)
HSLhsl(58, 58%, 45%)
HSVhsv(58, 73%, 71%)
CMYKcmyk(0%, 2.8%, 73.5%, 29%)
CIE-LABlab(70.24, -12.94, 61.96)
CIE-LCHlch(70.24, 63.30, 101.79°)
OKLaboklab(73.9% -0.0421 0.1365)
OKLCHoklch(73.9% 0.143 107.2)
XYZxyz(35.1163, 41.0890, 8.8769)
Luminance0.4109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B030 #3035B5
analogous
#B56D30 #B5B030 #78B530
triadic
#B5B030 #30B5B0 #B030B5
tetradic
#B5B030 #30B56D #3035B5 #B53078
square
#B5B030 #30B56D #3035B5 #B53078
split-complementary
#B5B030 #3078B5 #6D30B5
monochromatic
#545216 #858123 #B5B030 #D1CC51 #DEDA82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B030#FFFFFF#000000##000000
##B5B0301.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)
#BFA917
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#C2A497
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b5b030;
/* rgb */ color: rgb(181, 176, 48);
/* oklch */ color: oklch(73.9% 0.143 107.2);
Tailwind
colors: {
  custom: {
    50: '#cfc772',
    500: '#b5b030',
    950: '#000000',
  },
}
SCSS
$custom: #b5b030;
$custom-light: #cfc772;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b030",
  "rgb": {
    "r": 181,
    "g": 176,
    "b": 48
  },
  "hsl": {
    "h": 57.744,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73899,
    "c": 0.14289,
    "h": 107.2
  },
  "luminance": 0.41088
}

Semantic roles & 50–950 ramp

primary
#B5B030
secondary
#7A7DC7
accent
#4CE146
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B030

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

Preview Lab → · Contrast checker → · Palette generator →

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