#B2AA4F#B2AA4F

#B2AA4F is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.113 H 104.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B2AA4F
RGBrgb(178, 170, 79)
HSLhsl(55, 39%, 50%)
HSVhsv(55, 56%, 70%)
CMYKcmyk(0%, 4.5%, 55.6%, 30.2%)
CIE-LABlab(68.59, -9.17, 47.16)
CIE-LCHlch(68.59, 48.04, 101.01°)
OKLaboklab(72.61% -0.0279 0.11)
OKLCHoklch(72.61% 0.113 104.3)
XYZxyz(34.1472, 38.7801, 13.0822)
Luminance0.3878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA4F #4F57B2
analogous
#B2794F #B2AA4F #88B24F
triadic
#B2AA4F #4FB2AA #AA4FB2
tetradic
#B2AA4F #4FB279 #4F57B2 #B24F88
square
#B2AA4F #4FB279 #4F57B2 #B24F88
split-complementary
#B2AA4F #4F88B2 #794FB2
monochromatic
#5E5929 #88823C #B2AA4F #C5BF7A #D7D3A4

Accessibility & contrast

On white

2.40
#B2AA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B2AA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA4F
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA4F#FFFFFF#000000##000000
##B2AA4F1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A546
Deuteranopia (green-blind)
#BAA954
Tritanopia (blue-blind)
#BEA096
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa4f;
/* rgb */ color: rgb(178, 170, 79);
/* oklch */ color: oklch(72.6% 0.113 104.3);
Tailwind
colors: {
  custom: {
    50: '#cbc383',
    500: '#b2aa4f',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa4f;
$custom-light: #cbc383;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa4f",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 79
  },
  "hsl": {
    "h": 55.152,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72607,
    "c": 0.11344,
    "h": 104.3
  },
  "luminance": 0.38779
}

Semantic roles & 50–950 ramp

primary
#B2AA4F
secondary
#989CC4
accent
#62CF59
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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