#B8A450#B8A450

#B8A450 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.9% C 0.107 H 96.1°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#B8A450
RGBrgb(184, 164, 80)
HSLhsl(48, 42%, 52%)
HSVhsv(48, 57%, 72%)
CMYKcmyk(0%, 10.9%, 56.5%, 27.8%)
CIE-LABlab(67.52, -3.35, 45.58)
CIE-LCHlch(67.52, 45.70, 94.21°)
OKLaboklab(71.89% -0.0115 0.1065)
OKLCHoklch(71.89% 0.107 96.1)
XYZxyz(34.4919, 37.3220, 12.9749)
Luminance0.3732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A450 #5064B8
analogous
#B87050 #B8A450 #98B850
triadic
#B8A450 #50B8A4 #A450B8
tetradic
#B8A450 #50B870 #5064B8 #B85098
square
#B8A450 #50B870 #5064B8 #B85098
split-complementary
#B8A450 #5098B8 #7050B8
monochromatic
#655929 #90803B #B8A450 #CABB7C #DBD1A7

Accessibility & contrast

On white

2.48
#B8A450 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#B8A450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A450
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A450#FFFFFF#000000##000000
##B8A4501.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A148
Deuteranopia (green-blind)
#B8A754
Tritanopia (blue-blind)
#C59991
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a450;
/* rgb */ color: rgb(184, 164, 80);
/* oklch */ color: oklch(71.9% 0.107 96.1);
Tailwind
colors: {
  custom: {
    50: '#d0be84',
    500: '#b8a450',
    950: '#000000',
  },
}
SCSS
$custom: #b8a450;
$custom-light: #d0be84;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a450",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 80
  },
  "hsl": {
    "h": 48.462,
    "s": 42.276,
    "l": 51.765
  },
  "oklch": {
    "l": 0.71887,
    "c": 0.10716,
    "h": 96.1
  },
  "luminance": 0.3732
}

Semantic roles & 50–950 ramp

primary
#B8A450
secondary
#9BA4C9
accent
#6ED256
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A450

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

Preview Lab → · Contrast checker → · Palette generator →

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