#B5B630#B5B630

#B5B630 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.2% C 0.149 H 109.9°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#B5B630
RGBrgb(181, 182, 48)
HSLhsl(60, 58%, 45%)
HSVhsv(60, 74%, 71%)
CMYKcmyk(0.5%, 0%, 73.6%, 28.6%)
CIE-LABlab(71.89, -16.00, 63.52)
CIE-LCHlch(71.89, 65.51, 104.14°)
OKLaboklab(75.22% -0.0507 0.1398)
OKLCHoklch(75.22% 0.149 109.9)
XYZxyz(36.3188, 43.4941, 9.2778)
Luminance0.4349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B630 #3130B6
analogous
#B67430 #B5B630 #72B630
triadic
#B5B630 #30B5B6 #B630B5
tetradic
#B5B630 #30B674 #3130B6 #B63072
square
#B5B630 #30B674 #3130B6 #B63072
split-complementary
#B5B630 #3072B6 #7430B6
monochromatic
#555516 #858623 #B5B630 #D0D152 #DDDE82

Accessibility & contrast

On white

2.17
#B5B630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#B5B630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B630
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B630#FFFFFF#000000##000000
##B5B6301.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE14
Deuteranopia (green-blind)
#C6B23B
Tritanopia (blue-blind)
#C2AA9C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b5b630;
/* rgb */ color: rgb(181, 182, 48);
/* oklch */ color: oklch(75.2% 0.149 109.9);
Tailwind
colors: {
  custom: {
    50: '#cfcb72',
    500: '#b5b630',
    950: '#000000',
  },
}
SCSS
$custom: #b5b630;
$custom-light: #cfcb72;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b630",
  "rgb": {
    "r": 181,
    "g": 182,
    "b": 48
  },
  "hsl": {
    "h": 60.448,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75217,
    "c": 0.14875,
    "h": 109.9
  },
  "luminance": 0.43493
}

Semantic roles & 50–950 ramp

primary
#B5B630
secondary
#7B7BC7
accent
#46E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B630

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

Preview Lab → · Contrast checker → · Palette generator →

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