#B5B634#B5B634

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

Color values

HEX#B5B634
RGBrgb(181, 182, 52)
HSLhsl(60, 56%, 46%)
HSVhsv(60, 71%, 71%)
CMYKcmyk(0.5%, 0%, 71.4%, 28.6%)
CIE-LABlab(71.91, -15.82, 62.15)
CIE-LCHlch(71.91, 64.13, 104.28°)
OKLaboklab(75.24% -0.0498 0.1377)
OKLCHoklch(75.24% 0.146 109.9)
XYZxyz(36.4051, 43.5286, 9.7323)
Luminance0.4353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B634 #3534B6
analogous
#B67634 #B5B634 #74B634
triadic
#B5B634 #34B5B6 #B634B5
tetradic
#B5B634 #34B676 #3534B6 #B63474
square
#B5B634 #34B676 #3534B6 #B63474
split-complementary
#B5B634 #3474B6 #7634B6
monochromatic
#565719 #868626 #B5B634 #CECF58 #DCDD88

Accessibility & contrast

On white

2.16
#B5B634 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#B5B634 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B634
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B634#FFFFFF#000000##000000
##B5B6341.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE1C
Deuteranopia (green-blind)
#C6B23E
Tritanopia (blue-blind)
#C2AA9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b5b634;
/* rgb */ color: rgb(181, 182, 52);
/* oklch */ color: oklch(75.2% 0.146 109.9);
Tailwind
colors: {
  custom: {
    50: '#cfcb74',
    500: '#b5b634',
    950: '#000000',
  },
}
SCSS
$custom: #b5b634;
$custom-light: #cfcb74;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b634",
  "rgb": {
    "r": 181,
    "g": 182,
    "b": 52
  },
  "hsl": {
    "h": 60.462,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75243,
    "c": 0.14639,
    "h": 109.9
  },
  "luminance": 0.43528
}

Semantic roles & 50–950 ramp

primary
#B5B634
secondary
#807FC7
accent
#49DF4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B634

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

Preview Lab → · Contrast checker → · Palette generator →

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