#B0B535#B0B535

#B0B535 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.6% C 0.146 H 111.7°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#B0B535
RGBrgb(176, 181, 53)
HSLhsl(62, 55%, 46%)
HSVhsv(62, 71%, 71%)
CMYKcmyk(2.8%, 0%, 70.7%, 29%)
CIE-LABlab(71.24, -17.40, 61.00)
CIE-LCHlch(71.24, 63.43, 105.92°)
OKLaboklab(74.61% -0.0539 0.1356)
OKLCHoklch(74.61% 0.146 111.7)
XYZxyz(35.0721, 42.5358, 9.7302)
Luminance0.4254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B535 #3A35B5
analogous
#B57A35 #B0B535 #70B535
triadic
#B0B535 #35B0B5 #B535B0
tetradic
#B0B535 #35B57A #3A35B5 #B53570
square
#B0B535 #35B57A #3A35B5 #B53570
split-complementary
#B0B535 #3570B5 #7A35B5
monochromatic
#545619 #828627 #B0B535 #CACE59 #D9DC88

Accessibility & contrast

On white

2.21
#B0B535 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#B0B535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B535
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B535#FFFFFF#000000##000000
##B0B5351.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD1F
Deuteranopia (green-blind)
#C4B03F
Tritanopia (blue-blind)
#BCAA9C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b0b535;
/* rgb */ color: rgb(176, 181, 53);
/* oklch */ color: oklch(74.6% 0.146 111.7);
Tailwind
colors: {
  custom: {
    50: '#cbcb75',
    500: '#b0b535',
    950: '#000000',
  },
}
SCSS
$custom: #b0b535;
$custom-light: #cbcb75;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b535",
  "rgb": {
    "r": 176,
    "g": 181,
    "b": 53
  },
  "hsl": {
    "h": 62.344,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74608,
    "c": 0.14587,
    "h": 111.7
  },
  "luminance": 0.42535
}

Semantic roles & 50–950 ramp

primary
#B0B535
secondary
#8280C6
accent
#4ADE50
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B0B535

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

Preview Lab → · Contrast checker → · Palette generator →

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