#B8A348#B8A348

#B8A348 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.6% C 0.114 H 96.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B8A348
RGBrgb(184, 163, 72)
HSLhsl(49, 44%, 50%)
HSVhsv(49, 61%, 72%)
CMYKcmyk(0%, 11.4%, 60.9%, 27.8%)
CIE-LABlab(67.17, -3.42, 48.99)
CIE-LCHlch(67.17, 49.11, 93.99°)
OKLaboklab(71.58% -0.0126 0.1129)
OKLCHoklch(71.58% 0.114 96.4)
XYZxyz(34.0355, 36.8542, 11.4504)
Luminance0.3685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A348 #485DB8
analogous
#B86B48 #B8A348 #95B848
triadic
#B8A348 #48B8A3 #A348B8
tetradic
#B8A348 #48B86B #485DB8 #B84895
square
#B8A348 #48B86B #485DB8 #B84895
split-complementary
#B8A348 #4895B8 #6B48B8
monochromatic
#605525 #8C7C36 #B8A348 #C9B974 #DACFA0

Accessibility & contrast

On white

2.51
#B8A348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#B8A348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A348
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A348#FFFFFF#000000##000000
##B8A3481.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A03E
Deuteranopia (green-blind)
#B8A64C
Tritanopia (blue-blind)
#C6988F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a348;
/* rgb */ color: rgb(184, 163, 72);
/* oklch */ color: oklch(71.6% 0.114 96.4);
Tailwind
colors: {
  custom: {
    50: '#d0be7e',
    500: '#b8a348',
    950: '#000000',
  },
}
SCSS
$custom: #b8a348;
$custom-light: #d0be7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a348",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 72
  },
  "hsl": {
    "h": 48.75,
    "s": 44.094,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71583,
    "c": 0.1136,
    "h": 96.4
  },
  "luminance": 0.36853
}

Semantic roles & 50–950 ramp

primary
#B8A348
secondary
#959EC7
accent
#6CD454
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A348

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

Preview Lab → · Contrast checker → · Palette generator →

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