#B2A76E#B2A76E

#B2A76E is a light, moderate yellow. Relative luminance 0.382; OKLCH L 72.4% C 0.077 H 98.6°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#B2A76E
RGBrgb(178, 167, 110)
HSLhsl(50, 31%, 56%)
HSVhsv(50, 38%, 70%)
CMYKcmyk(0%, 6.2%, 38.2%, 30.2%)
CIE-LABlab(68.19, -4.52, 30.93)
CIE-LCHlch(68.19, 31.26, 98.32°)
OKLaboklab(72.42% -0.0115 0.0761)
OKLCHoklch(72.42% 0.077 98.6)
XYZxyz(34.9939, 38.2292, 20.2844)
Luminance0.3823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A76E #6E79B2
analogous
#B2856E #B2A76E #9BB26E
triadic
#B2A76E #6EB2A7 #A76EB2
tetradic
#B2A76E #6EB285 #6E79B2 #B26E9B
square
#B2A76E #6EB285 #6E79B2 #B26E9B
split-complementary
#B2A76E #6E9BB2 #856EB2
monochromatic
#6C6439 #94894F #B2A76E #C7BF96 #DCD8BE

Accessibility & contrast

On white

2.43
#B2A76E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#B2A76E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A76E
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A76E#FFFFFF#000000##000000
##B2A76E1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A46A
Deuteranopia (green-blind)
#B5A870
Tritanopia (blue-blind)
#BC9F99
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b2a76e;
/* rgb */ color: rgb(178, 167, 110);
/* oklch */ color: oklch(72.4% 0.077 98.6);
Tailwind
colors: {
  custom: {
    50: '#cac198',
    500: '#b2a76e',
    950: '#000000',
  },
}
SCSS
$custom: #b2a76e;
$custom-light: #cac198;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a76e",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 110
  },
  "hsl": {
    "h": 50.294,
    "s": 30.631,
    "l": 56.471
  },
  "oklch": {
    "l": 0.72421,
    "c": 0.07699,
    "h": 98.6
  },
  "luminance": 0.38228
}

Semantic roles & 50–950 ramp

primary
#B2A76E
secondary
#B0B4CC
accent
#71C761
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #B2A76E

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

Preview Lab → · Contrast checker → · Palette generator →

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