#B4B741#B4B741

#B4B741 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.5% C 0.139 H 110.7°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#B4B741
RGBrgb(180, 183, 65)
HSLhsl(62, 48%, 49%)
HSVhsv(62, 64%, 72%)
CMYKcmyk(1.6%, 0%, 64.5%, 28.2%)
CIE-LABlab(72.20, -16.03, 57.39)
CIE-LCHlch(72.20, 59.59, 105.61°)
OKLaboklab(75.48% -0.0491 0.1298)
OKLCHoklch(75.48% 0.139 110.7)
XYZxyz(36.7111, 43.9529, 11.5499)
Luminance0.4395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B741 #4441B7
analogous
#B77F41 #B4B741 #79B741
triadic
#B4B741 #41B4B7 #B741B4
tetradic
#B4B741 #41B77F #4441B7 #B74179
square
#B4B741 #41B77F #4441B7 #B74179
split-complementary
#B4B741 #4179B7 #7F41B7
monochromatic
#5B5D21 #888A31 #B4B741 #C8CA6B #D9DA98

Accessibility & contrast

On white

2.14
#B4B741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#B4B741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B741
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B741#FFFFFF#000000##000000
##B4B7411.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF31
Deuteranopia (green-blind)
#C6B349
Tritanopia (blue-blind)
#C0AC9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b741;
/* rgb */ color: rgb(180, 183, 65);
/* oklch */ color: oklch(75.5% 0.139 110.7);
Tailwind
colors: {
  custom: {
    50: '#cdcc7c',
    500: '#b4b741',
    950: '#000000',
  },
}
SCSS
$custom: #b4b741;
$custom-light: #cdcc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b741",
  "rgb": {
    "r": 180,
    "g": 183,
    "b": 65
  },
  "hsl": {
    "h": 61.525,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.7548,
    "c": 0.13876,
    "h": 110.7
  },
  "luminance": 0.43952
}

Semantic roles & 50–950 ramp

primary
#B4B741
secondary
#8F8EC6
accent
#51D754
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B4B741

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

Preview Lab → · Contrast checker → · Palette generator →

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