#B3AA38#B3AA38

#B3AA38 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.5% C 0.132 H 104.8°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B3AA38
RGBrgb(179, 170, 56)
HSLhsl(56, 52%, 46%)
HSVhsv(56, 69%, 70%)
CMYKcmyk(0%, 5%, 68.7%, 29.8%)
CIE-LABlab(68.47, -10.30, 57.19)
CIE-LCHlch(68.47, 58.11, 100.21°)
OKLaboklab(72.47% -0.0338 0.1279)
OKLCHoklch(72.47% 0.132 104.8)
XYZxyz(33.6803, 38.6199, 9.4209)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AA38 #3841B3
analogous
#B36C38 #B3AA38 #7EB338
triadic
#B3AA38 #38B3AA #AA38B3
tetradic
#B3AA38 #38B36C #3841B3 #B3387E
square
#B3AA38 #38B36C #3841B3 #B3387E
split-complementary
#B3AA38 #387EB3 #6C38B3
monochromatic
#56511B #847E29 #B3AA38 #CCC45C #DBD58B

Accessibility & contrast

On white

2.41
#B3AA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#B3AA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AA38
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AA38#FFFFFF#000000##000000
##B3AA381.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A427
Deuteranopia (green-blind)
#BCA93F
Tritanopia (blue-blind)
#C09F93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3aa38;
/* rgb */ color: rgb(179, 170, 56);
/* oklch */ color: oklch(72.5% 0.132 104.8);
Tailwind
colors: {
  custom: {
    50: '#cdc375',
    500: '#b3aa38',
    950: '#000000',
  },
}
SCSS
$custom: #b3aa38;
$custom-light: #cdc375;
$custom-dark: #000000;
JSON
{
  "hex": "#b3aa38",
  "rgb": {
    "r": 179,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 55.61,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7247,
    "c": 0.13232,
    "h": 104.8
  },
  "luminance": 0.38619
}

Semantic roles & 50–950 ramp

primary
#B3AA38
secondary
#8287C5
accent
#57DC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3AA38

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

Preview Lab → · Contrast checker → · Palette generator →

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