#B2AF81#B2AF81

#B2AF81 is a light, moderate yellow. Relative luminance 0.417; OKLCH L 74.5% C 0.063 H 104.7°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#B2AF81
RGBrgb(178, 175, 129)
HSLhsl(56, 24%, 60%)
HSVhsv(56, 28%, 70%)
CMYKcmyk(0%, 1.7%, 27.5%, 30.2%)
CIE-LABlab(70.67, -6.36, 24.04)
CIE-LCHlch(70.67, 24.87, 104.83°)
OKLaboklab(74.49% -0.0158 0.0605)
OKLCHoklch(74.49% 0.063 104.7)
XYZxyz(37.6526, 41.7105, 26.8321)
Luminance0.4171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AF81 #8184B2
analogous
#B29781 #B2AF81 #9CB281
triadic
#B2AF81 #81B2AF #AF81B2
tetradic
#B2AF81 #81B297 #8184B2 #B2819C
square
#B2AF81 #81B297 #8184B2 #B2819C
split-complementary
#B2AF81 #819CB2 #9781B2
monochromatic
#737046 #99955D #B2AF81 #C9C7A7 #E0DFCD

Accessibility & contrast

On white

2.25
#B2AF81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#B2AF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AF81
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AF81#FFFFFF#000000##000000
##B2AF811.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AB7E
Deuteranopia (green-blind)
#B9AE83
Tritanopia (blue-blind)
#B9A9A3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2af81;
/* rgb */ color: rgb(178, 175, 129);
/* oklch */ color: oklch(74.5% 0.063 104.7);
Tailwind
colors: {
  custom: {
    50: '#c9c6a6',
    500: '#b2af81',
    950: '#000000',
  },
}
SCSS
$custom: #b2af81;
$custom-light: #c9c6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b2af81",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 129
  },
  "hsl": {
    "h": 56.327,
    "s": 24.138,
    "l": 60.196
  },
  "oklch": {
    "l": 0.74492,
    "c": 0.06252,
    "h": 104.7
  },
  "luminance": 0.4171
}

Semantic roles & 50–950 ramp

primary
#B2AF81
secondary
#BEBFD1
accent
#49A343
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #B2AF81

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

Preview Lab → · Contrast checker → · Palette generator →

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