#B2AA61#B2AA61

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

Color values

HEX#B2AA61
RGBrgb(178, 170, 97)
HSLhsl(54, 34%, 54%)
HSVhsv(54, 46%, 70%)
CMYKcmyk(0%, 4.5%, 45.5%, 30.2%)
CIE-LABlab(68.81, -7.53, 38.50)
CIE-LCHlch(68.81, 39.23, 101.07°)
OKLaboklab(72.85% -0.0213 0.0926)
OKLCHoklch(72.85% 0.095 103)
XYZxyz(34.8933, 39.0785, 17.0118)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA61 #6169B2
analogous
#B28261 #B2AA61 #92B261
triadic
#B2AA61 #61B2AA #AA61B2
tetradic
#B2AA61 #61B282 #6169B2 #B26192
square
#B2AA61 #61B282 #6169B2 #B26192
split-complementary
#B2AA61 #6192B2 #8261B2
monochromatic
#676132 #908846 #B2AA61 #C6C08A #DAD6B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AA61#FFFFFF#000000##000000
##B2AA611.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)
#B6A65B
Deuteranopia (green-blind)
#B9AA64
Tritanopia (blue-blind)
#BDA199
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2aa61;
/* rgb */ color: rgb(178, 170, 97);
/* oklch */ color: oklch(72.8% 0.095 103.0);
Tailwind
colors: {
  custom: {
    50: '#cac38f',
    500: '#b2aa61',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa61;
$custom-light: #cac38f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa61",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 97
  },
  "hsl": {
    "h": 54.074,
    "s": 34.468,
    "l": 53.922
  },
  "oklch": {
    "l": 0.72849,
    "c": 0.09503,
    "h": 103
  },
  "luminance": 0.39077
}

Semantic roles & 50–950 ramp

primary
#B2AA61
secondary
#A6AAC9
accent
#68CB5D
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2AA61

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

Preview Lab → · Contrast checker → · Palette generator →

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