#B2A270#B2A270

#B2A270 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.4% C 0.070 H 92.4°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#B2A270
RGBrgb(178, 162, 112)
HSLhsl(45, 30%, 57%)
HSVhsv(45, 37%, 70%)
CMYKcmyk(0%, 9%, 37.1%, 30.2%)
CIE-LABlab(66.88, -1.60, 28.15)
CIE-LCHlch(66.88, 28.20, 93.26°)
OKLaboklab(71.4% -0.0029 0.0698)
OKLCHoklch(71.4% 0.07 92.4)
XYZxyz(34.2057, 36.4766, 20.5650)
Luminance0.3648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A270 #7080B2
analogous
#B28170 #B2A270 #A1B270
triadic
#B2A270 #70B2A2 #A270B2
tetradic
#B2A270 #70B281 #7080B2 #B270A1
square
#B2A270 #70B281 #7080B2 #B270A1
split-complementary
#B2A270 #70A1B2 #8170B2
monochromatic
#6D613B #958450 #B2A270 #C7BC98 #DDD6C0

Accessibility & contrast

On white

2.53
#B2A270 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#B2A270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A270
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A270#FFFFFF#000000##000000
##B2A2701.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA06C
Deuteranopia (green-blind)
#B1A572
Tritanopia (blue-blind)
#BC9A95
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a270;
/* rgb */ color: rgb(178, 162, 112);
/* oklch */ color: oklch(71.4% 0.070 92.4);
Tailwind
colors: {
  custom: {
    50: '#cabd99',
    500: '#b2a270',
    950: '#000000',
  },
}
SCSS
$custom: #b2a270;
$custom-light: #cabd99;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a270",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 112
  },
  "hsl": {
    "h": 45.455,
    "s": 30,
    "l": 56.863
  },
  "oklch": {
    "l": 0.71399,
    "c": 0.06981,
    "h": 92.4
  },
  "luminance": 0.36475
}

Semantic roles & 50–950 ramp

primary
#B2A270
secondary
#B1B8CC
accent
#7AC662
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B2A270

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

Preview Lab → · Contrast checker → · Palette generator →

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