#B2AA38#B2AA38

#B2AA38 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.4% C 0.132 H 105.3°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#B2AA38
RGBrgb(178, 170, 56)
HSLhsl(56, 52%, 46%)
HSVhsv(56, 69%, 70%)
CMYKcmyk(0%, 4.5%, 68.5%, 30.2%)
CIE-LABlab(68.39, -10.73, 57.07)
CIE-LCHlch(68.39, 58.07, 100.65°)
OKLaboklab(72.38% -0.0349 0.1277)
OKLCHoklch(72.38% 0.132 105.3)
XYZxyz(33.4499, 38.5012, 9.4101)
Luminance0.3850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA38 #3840B2
analogous
#B26D38 #B2AA38 #7DB238
triadic
#B2AA38 #38B2AA #AA38B2
tetradic
#B2AA38 #38B26D #3840B2 #B2387D
square
#B2AA38 #38B26D #3840B2 #B2387D
split-complementary
#B2AA38 #387DB2 #6D38B2
monochromatic
#55511B #837E29 #B2AA38 #CCC45C #DAD58A

Accessibility & contrast

On white

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

On black

8.70
#B2AA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA38
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA38#FFFFFF#000000##000000
##B2AA381.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2aa38;
/* rgb */ color: rgb(178, 170, 56);
/* oklch */ color: oklch(72.4% 0.132 105.3);
Tailwind
colors: {
  custom: {
    50: '#ccc375',
    500: '#b2aa38',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa38;
$custom-light: #ccc375;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa38",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 56.066,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7238,
    "c": 0.13243,
    "h": 105.3
  },
  "luminance": 0.385
}

Semantic roles & 50–950 ramp

primary
#B2AA38
secondary
#8186C5
accent
#56DC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2AA38

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

Preview Lab → · Contrast checker → · Palette generator →

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