#B8AA2C#B8AA2C

#B8AA2C is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.139 H 102.7°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B8AA2C
RGBrgb(184, 170, 44)
HSLhsl(54, 61%, 45%)
HSVhsv(54, 76%, 72%)
CMYKcmyk(0%, 7.6%, 76.1%, 27.8%)
CIE-LABlab(68.84, -8.69, 62.12)
CIE-LCHlch(68.84, 62.73, 97.96°)
OKLaboklab(72.84% -0.0307 0.136)
OKLCHoklch(72.84% 0.139 102.7)
XYZxyz(34.5981, 39.1232, 8.1115)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AA2C #2C3AB8
analogous
#B8642C #B8AA2C #80B82C
triadic
#B8AA2C #2CB8AA #AA2CB8
tetradic
#B8AA2C #2CB864 #2C3AB8 #B82C80
square
#B8AA2C #2CB864 #2C3AB8 #B82C80
split-complementary
#B8AA2C #2C80B8 #642CB8
monochromatic
#554F14 #877C20 #B8AA2C #D4C74D #E0D67E

Accessibility & contrast

On white

2.38
#B8AA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#B8AA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AA2C
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AA2C#FFFFFF#000000##000000
##B8AA2C1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA410
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#C69E92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8aa2c;
/* rgb */ color: rgb(184, 170, 44);
/* oklch */ color: oklch(72.8% 0.139 102.7);
Tailwind
colors: {
  custom: {
    50: '#d1c26f',
    500: '#b8aa2c',
    950: '#000000',
  },
}
SCSS
$custom: #b8aa2c;
$custom-light: #d1c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aa2c",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 54,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72842,
    "c": 0.13943,
    "h": 102.7
  },
  "luminance": 0.39122
}

Semantic roles & 50–950 ramp

primary
#B8AA2C
secondary
#777FC9
accent
#53E543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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