#B0B538#B0B538

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

Color values

HEX#B0B538
RGBrgb(176, 181, 56)
HSLhsl(62, 53%, 46%)
HSVhsv(62, 69%, 71%)
CMYKcmyk(2.8%, 0%, 69.1%, 29%)
CIE-LABlab(71.26, -17.24, 59.89)
CIE-LCHlch(71.26, 62.33, 106.06°)
OKLaboklab(74.63% -0.0531 0.1337)
OKLCHoklch(74.63% 0.144 111.7)
XYZxyz(35.1433, 42.5642, 10.1051)
Luminance0.4256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B538 #3D38B5
analogous
#B57C38 #B0B538 #72B538
triadic
#B0B538 #38B0B5 #B538B0
tetradic
#B0B538 #38B57C #3D38B5 #B53872
square
#B0B538 #38B57C #3D38B5 #B53872
split-complementary
#B0B538 #3872B5 #7C38B5
monochromatic
#55581B #83862A #B0B538 #C8CD5D #D8DB8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0B538#FFFFFF#000000##000000
##B0B5381.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)
#C3AD24
Deuteranopia (green-blind)
#C3B041
Tritanopia (blue-blind)
#BCAA9C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b0b538;
/* rgb */ color: rgb(176, 181, 56);
/* oklch */ color: oklch(74.6% 0.144 111.7);
Tailwind
colors: {
  custom: {
    50: '#cbcb76',
    500: '#b0b538',
    950: '#000000',
  },
}
SCSS
$custom: #b0b538;
$custom-light: #cbcb76;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b538",
  "rgb": {
    "r": 176,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 62.4,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7463,
    "c": 0.14391,
    "h": 111.7
  },
  "luminance": 0.42563
}

Semantic roles & 50–950 ramp

primary
#B0B538
secondary
#8683C6
accent
#4CDC51
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B0B538

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

Preview Lab → · Contrast checker → · Palette generator →

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