#B2AA62#B2AA62

#B2AA62 is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.094 H 102.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B2AA62
RGBrgb(178, 170, 98)
HSLhsl(54, 34%, 54%)
HSVhsv(54, 45%, 70%)
CMYKcmyk(0%, 4.5%, 44.9%, 30.2%)
CIE-LABlab(68.82, -7.43, 38.01)
CIE-LCHlch(68.82, 38.73, 101.07°)
OKLaboklab(72.86% -0.0209 0.0916)
OKLCHoklch(72.86% 0.094 102.9)
XYZxyz(34.9402, 39.0973, 17.2589)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA62 #626AB2
analogous
#B28262 #B2AA62 #92B262
triadic
#B2AA62 #62B2AA #AA62B2
tetradic
#B2AA62 #62B282 #626AB2 #B26292
square
#B2AA62 #62B282 #626AB2 #B26292
split-complementary
#B2AA62 #6292B2 #8262B2
monochromatic
#676233 #908947 #B2AA62 #C6C08B #DAD6B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AA62#FFFFFF#000000##000000
##B2AA621.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)
#B6A65C
Deuteranopia (green-blind)
#B8AA65
Tritanopia (blue-blind)
#BDA199
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2aa62;
/* rgb */ color: rgb(178, 170, 98);
/* oklch */ color: oklch(72.9% 0.094 102.9);
Tailwind
colors: {
  custom: {
    50: '#cac390',
    500: '#b2aa62',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa62;
$custom-light: #cac390;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa62",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 98
  },
  "hsl": {
    "h": 54,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.72864,
    "c": 0.09393,
    "h": 102.9
  },
  "luminance": 0.39096
}

Semantic roles & 50–950 ramp

primary
#B2AA62
secondary
#A7AAC9
accent
#68CA5E
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2AA62

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

Preview Lab → · Contrast checker → · Palette generator →

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