#B4A751#B4A751

#B4A751 is a light, moderate yellow. Relative luminance 0.379; OKLCH L 72.2% C 0.109 H 100.8°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#B4A751
RGBrgb(180, 167, 81)
HSLhsl(52, 40%, 51%)
HSVhsv(52, 55%, 71%)
CMYKcmyk(0%, 7.2%, 55%, 29.4%)
CIE-LABlab(67.97, -6.58, 45.53)
CIE-LCHlch(67.97, 46.00, 98.22°)
OKLaboklab(72.17% -0.0204 0.1066)
OKLCHoklch(72.17% 0.109 100.8)
XYZxyz(34.1274, 37.9361, 13.3077)
Luminance0.3794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A751 #515EB4
analogous
#B47551 #B4A751 #8FB451
triadic
#B4A751 #51B4A7 #A751B4
tetradic
#B4A751 #51B475 #515EB4 #B4518F
square
#B4A751 #51B475 #515EB4 #B4518F
split-complementary
#B4A751 #518FB4 #7551B4
monochromatic
#615A2A #8C813C #B4A751 #C6BD7C #D9D2A7

Accessibility & contrast

On white

2.45
#B4A751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#B4A751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A751
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A751#FFFFFF#000000##000000
##B4A7511.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A349
Deuteranopia (green-blind)
#B8A855
Tritanopia (blue-blind)
#C09D94
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b4a751;
/* rgb */ color: rgb(180, 167, 81);
/* oklch */ color: oklch(72.2% 0.109 100.8);
Tailwind
colors: {
  custom: {
    50: '#cdc084',
    500: '#b4a751',
    950: '#000000',
  },
}
SCSS
$custom: #b4a751;
$custom-light: #cdc084;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a751",
  "rgb": {
    "r": 180,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 52.121,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72165,
    "c": 0.10855,
    "h": 100.8
  },
  "luminance": 0.37935
}

Semantic roles & 50–950 ramp

primary
#B4A751
secondary
#9BA0C6
accent
#68D058
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B4A751

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

Preview Lab → · Contrast checker → · Palette generator →

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