#B2A366#B2A366

#B2A366 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.082 H 96.0°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B2A366
RGBrgb(178, 163, 102)
HSLhsl(48, 33%, 55%)
HSVhsv(48, 43%, 70%)
CMYKcmyk(0%, 8.4%, 42.7%, 30.2%)
CIE-LABlab(66.99, -3.28, 33.62)
CIE-LCHlch(66.99, 33.78, 95.58°)
OKLaboklab(71.43% -0.0086 0.0819)
OKLCHoklch(71.43% 0.082 96)
XYZxyz(33.8564, 36.6198, 17.8527)
Luminance0.3662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A366 #6675B2
analogous
#B27D66 #B2A366 #9BB266
triadic
#B2A366 #66B2A3 #A366B2
tetradic
#B2A366 #66B27D #6675B2 #B2669B
square
#B2A366 #66B27D #6675B2 #B2669B
split-complementary
#B2A366 #669BB2 #7D66B2
monochromatic
#695F35 #928349 #B2A366 #C6BB8F #DBD4B7

Accessibility & contrast

On white

2.52
#B2A366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#B2A366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A366
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A366#FFFFFF#000000##000000
##B2A3661.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA061
Deuteranopia (green-blind)
#B3A568
Tritanopia (blue-blind)
#BD9B94
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a366;
/* rgb */ color: rgb(178, 163, 102);
/* oklch */ color: oklch(71.4% 0.082 96.0);
Tailwind
colors: {
  custom: {
    50: '#cabe92',
    500: '#b2a366',
    950: '#000000',
  },
}
SCSS
$custom: #b2a366;
$custom-light: #cabe92;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a366",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 102
  },
  "hsl": {
    "h": 48.158,
    "s": 33.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.71433,
    "c": 0.08237,
    "h": 96
  },
  "luminance": 0.36619
}

Semantic roles & 50–950 ramp

primary
#B2A366
secondary
#AAB0CA
accent
#74C95F
background
#FCFBF9
surface
#F9F6F1
border
#D2D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #B2A366

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

Preview Lab → · Contrast checker → · Palette generator →

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