#B4A855#B4A855

#B4A855 is a light, moderate yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.106 H 101.2°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B4A855
RGBrgb(180, 168, 85)
HSLhsl(52, 39%, 52%)
HSVhsv(52, 53%, 71%)
CMYKcmyk(0%, 6.7%, 52.8%, 29.4%)
CIE-LABlab(68.29, -6.77, 43.94)
CIE-LCHlch(68.29, 44.46, 98.75°)
OKLaboklab(72.43% -0.0205 0.1036)
OKLCHoklch(72.43% 0.106 101.2)
XYZxyz(34.4658, 38.3657, 14.1824)
Luminance0.3836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A855 #5561B4
analogous
#B47955 #B4A855 #91B455
triadic
#B4A855 #55B4A8 #A855B4
tetradic
#B4A855 #55B479 #5561B4 #B45591
square
#B4A855 #55B479 #5561B4 #B45591
split-complementary
#B4A855 #5591B4 #7955B4
monochromatic
#635C2C #8D833E #B4A855 #C7BE7F #D9D3AA

Accessibility & contrast

On white

2.42
#B4A855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#B4A855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A855
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A855#FFFFFF#000000##000000
##B4A8551.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A44D
Deuteranopia (green-blind)
#B9A959
Tritanopia (blue-blind)
#C09E95
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b4a855;
/* rgb */ color: rgb(180, 168, 85);
/* oklch */ color: oklch(72.4% 0.106 101.2);
Tailwind
colors: {
  custom: {
    50: '#ccc187',
    500: '#b4a855',
    950: '#000000',
  },
}
SCSS
$custom: #b4a855;
$custom-light: #ccc187;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a855",
  "rgb": {
    "r": 180,
    "g": 168,
    "b": 85
  },
  "hsl": {
    "h": 52.421,
    "s": 38.776,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7243,
    "c": 0.1056,
    "h": 101.2
  },
  "luminance": 0.38364
}

Semantic roles & 50–950 ramp

primary
#B4A855
secondary
#9EA3C7
accent
#68CF59
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B4A855

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

Preview Lab → · Contrast checker → · Palette generator →

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