#B4A246#B4A246

#B4A246 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.0% C 0.114 H 98.3°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#B4A246
RGBrgb(180, 162, 70)
HSLhsl(50, 44%, 49%)
HSVhsv(50, 61%, 71%)
CMYKcmyk(0%, 10%, 61.1%, 29.4%)
CIE-LABlab(66.51, -4.76, 49.09)
CIE-LCHlch(66.51, 49.32, 95.54°)
OKLaboklab(70.97% -0.0165 0.1129)
OKLCHoklch(70.97% 0.114 98.3)
XYZxyz(32.8495, 35.9876, 11.0091)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A246 #4658B4
analogous
#B46B46 #B4A246 #8FB446
triadic
#B4A246 #46B4A2 #A246B4
tetradic
#B4A246 #46B46B #4658B4 #B4468F
square
#B4A246 #46B46B #4658B4 #B4468F
split-complementary
#B4A246 #468FB4 #6B46B4
monochromatic
#5C5324 #887A35 #B4A246 #C7B970 #D8CF9C

Accessibility & contrast

On white

2.56
#B4A246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#B4A246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A246
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A246#FFFFFF#000000##000000
##B4A2461.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E3C
Deuteranopia (green-blind)
#B5A44B
Tritanopia (blue-blind)
#C1978E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b4a246;
/* rgb */ color: rgb(180, 162, 70);
/* oklch */ color: oklch(71.0% 0.114 98.3);
Tailwind
colors: {
  custom: {
    50: '#cdbd7d',
    500: '#b4a246',
    950: '#000000',
  },
}
SCSS
$custom: #b4a246;
$custom-light: #cdbd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a246",
  "rgb": {
    "r": 180,
    "g": 162,
    "b": 70
  },
  "hsl": {
    "h": 50.182,
    "s": 44,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70969,
    "c": 0.11412,
    "h": 98.3
  },
  "luminance": 0.35986
}

Semantic roles & 50–950 ramp

primary
#B4A246
secondary
#9199C5
accent
#69D454
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B4A246

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

Preview Lab → · Contrast checker → · Palette generator →

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