#B4B45D#B4B45D

#B4B45D is a light, moderate yellow. Relative luminance 0.431; OKLCH L 75.1% C 0.110 H 108.8°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#B4B45D
RGBrgb(180, 180, 93)
HSLhsl(60, 37%, 54%)
HSVhsv(60, 48%, 71%)
CMYKcmyk(0%, 0%, 48.3%, 29.4%)
CIE-LABlab(71.65, -12.31, 44.01)
CIE-LCHlch(71.65, 45.70, 105.63°)
OKLaboklab(75.13% -0.0355 0.1045)
OKLCHoklch(75.13% 0.11 108.8)
XYZxyz(37.1202, 43.1370, 16.7247)
Luminance0.4314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B45D #5D5DB4
analogous
#B4885D #B4B45D #88B45D
triadic
#B4B45D #5DB4B4 #B45DB4
tetradic
#B4B45D #5DB488 #5D5DB4 #B45D88
square
#B4B45D #5DB488 #5D5DB4 #B45D88
split-complementary
#B4B45D #5D88B4 #885DB4
monochromatic
#676730 #919143 #B4B45D #C7C787 #DBDBB1

Accessibility & contrast

On white

2.18
#B4B45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#B4B45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B45D
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B45D#FFFFFF#000000##000000
##B4B45D1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AE55
Deuteranopia (green-blind)
#C1B161
Tritanopia (blue-blind)
#BFABA0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4b45d;
/* rgb */ color: rgb(180, 180, 93);
/* oklch */ color: oklch(75.1% 0.110 108.8);
Tailwind
colors: {
  custom: {
    50: '#ccca8d',
    500: '#b4b45d',
    950: '#000000',
  },
}
SCSS
$custom: #b4b45d;
$custom-light: #ccca8d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b45d",
  "rgb": {
    "r": 180,
    "g": 180,
    "b": 93
  },
  "hsl": {
    "h": 60,
    "s": 36.709,
    "l": 53.529
  },
  "oklch": {
    "l": 0.7513,
    "c": 0.11034,
    "h": 108.8
  },
  "luminance": 0.43136
}

Semantic roles & 50–950 ramp

primary
#B4B45D
secondary
#A4A4C9
accent
#5BCD5B
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B4B45D

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

Preview Lab → · Contrast checker → · Palette generator →

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