#B4A268#B4A268

#B4A268 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.4% C 0.080 H 92.8°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#B4A268
RGBrgb(180, 162, 104)
HSLhsl(46, 34%, 56%)
HSVhsv(46, 42%, 71%)
CMYKcmyk(0%, 10%, 42.2%, 29.4%)
CIE-LABlab(66.93, -1.70, 32.53)
CIE-LCHlch(66.93, 32.57, 92.99°)
OKLaboklab(71.44% -0.0039 0.0795)
OKLCHoklch(71.44% 0.08 92.8)
XYZxyz(34.2423, 36.5447, 18.3441)
Luminance0.3654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A268 #687AB4
analogous
#B47C68 #B4A268 #A0B468
triadic
#B4A268 #68B4A2 #A268B4
tetradic
#B4A268 #68B47C #687AB4 #B468A0
square
#B4A268 #68B47C #687AB4 #B468A0
split-complementary
#B4A268 #68A0B4 #7C68B4
monochromatic
#6C5F36 #95834A #B4A268 #C8BB91 #DDD4BA

Accessibility & contrast

On white

2.53
#B4A268 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#B4A268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A268
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A268#FFFFFF#000000##000000
##B4A2681.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA064
Deuteranopia (green-blind)
#B2A56A
Tritanopia (blue-blind)
#BF9A94
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b4a268;
/* rgb */ color: rgb(180, 162, 104);
/* oklch */ color: oklch(71.4% 0.080 92.8);
Tailwind
colors: {
  custom: {
    50: '#ccbd94',
    500: '#b4a268',
    950: '#000000',
  },
}
SCSS
$custom: #b4a268;
$custom-light: #ccbd94;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a268",
  "rgb": {
    "r": 180,
    "g": 162,
    "b": 104
  },
  "hsl": {
    "h": 45.789,
    "s": 33.628,
    "l": 55.686
  },
  "oklch": {
    "l": 0.71441,
    "c": 0.07961,
    "h": 92.8
  },
  "luminance": 0.36543
}

Semantic roles & 50–950 ramp

primary
#B4A268
secondary
#ACB4CC
accent
#78CA5E
background
#FCFBF9
surface
#F9F6F1
border
#D2D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #B4A268

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

Preview Lab → · Contrast checker → · Palette generator →

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