#B0B540#B0B540

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

Color values

HEX#B0B540
RGBrgb(176, 181, 64)
HSLhsl(63, 48%, 48%)
HSVhsv(63, 65%, 71%)
CMYKcmyk(2.8%, 0%, 64.6%, 29%)
CIE-LABlab(71.32, -16.77, 56.78)
CIE-LCHlch(71.32, 59.21, 106.46°)
OKLaboklab(74.69% -0.051 0.1285)
OKLCHoklch(74.69% 0.138 111.7)
XYZxyz(35.3548, 42.6488, 11.2191)
Luminance0.4265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B540 #4540B5
analogous
#B57F40 #B0B540 #75B540
triadic
#B0B540 #40B0B5 #B540B0
tetradic
#B0B540 #40B57F #4540B5 #B54075
square
#B0B540 #40B57F #4540B5 #B54075
split-complementary
#B0B540 #4075B5 #7F40B5
monochromatic
#585B20 #848830 #B0B540 #C6CA68 #D7DA96

Accessibility & contrast

On white

2.20
#B0B540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#B0B540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B540
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B540#FFFFFF#000000##000000
##B0B5401.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD30
Deuteranopia (green-blind)
#C3B048
Tritanopia (blue-blind)
#BCAA9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b0b540;
/* rgb */ color: rgb(176, 181, 64);
/* oklch */ color: oklch(74.7% 0.138 111.7);
Tailwind
colors: {
  custom: {
    50: '#cacb7b',
    500: '#b0b540',
    950: '#000000',
  },
}
SCSS
$custom: #b0b540;
$custom-light: #cacb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b540",
  "rgb": {
    "r": 176,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 62.564,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74694,
    "c": 0.13823,
    "h": 111.7
  },
  "luminance": 0.42648
}

Semantic roles & 50–950 ramp

primary
#B0B540
secondary
#8E8BC5
accent
#50D756
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B0B540

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

Preview Lab → · Contrast checker → · Palette generator →

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