#B8A434#B8A434

#B8A434 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.130 H 98.8°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B8A434
RGBrgb(184, 164, 52)
HSLhsl(51, 56%, 46%)
HSVhsv(51, 72%, 72%)
CMYKcmyk(0%, 10.9%, 71.7%, 27.8%)
CIE-LABlab(67.27, -5.16, 57.71)
CIE-LCHlch(67.27, 57.94, 95.11°)
OKLaboklab(71.61% -0.0199 0.1282)
OKLCHoklch(71.61% 0.13 98.8)
XYZxyz(33.6641, 36.9908, 8.6149)
Luminance0.3699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A434 #3448B8
analogous
#B86234 #B8A434 #8AB834
triadic
#B8A434 #34B8A4 #A434B8
tetradic
#B8A434 #34B862 #3448B8 #B8348A
square
#B8A434 #34B862 #3448B8 #B8348A
split-complementary
#B8A434 #348AB8 #6234B8
monochromatic
#594F19 #887927 #B8A434 #D0BE59 #DED189

Accessibility & contrast

On white

2.50
#B8A434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B8A434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A434
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A434#FFFFFF#000000##000000
##B8A4341.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A023
Deuteranopia (green-blind)
#B9A73B
Tritanopia (blue-blind)
#C6988E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a434;
/* rgb */ color: rgb(184, 164, 52);
/* oklch */ color: oklch(71.6% 0.130 98.8);
Tailwind
colors: {
  custom: {
    50: '#d1be73',
    500: '#b8a434',
    950: '#000000',
  },
}
SCSS
$custom: #b8a434;
$custom-light: #d1be73;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a434",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 52
  },
  "hsl": {
    "h": 50.909,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71611,
    "c": 0.1297,
    "h": 98.8
  },
  "luminance": 0.36989
}

Semantic roles & 50–950 ramp

primary
#B8A434
secondary
#808BC8
accent
#5FDF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8A434

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

Preview Lab → · Contrast checker → · Palette generator →

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