#B2A460#B2A460

#B2A460 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.5% C 0.090 H 98.0°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B2A460
RGBrgb(178, 164, 96)
HSLhsl(50, 35%, 54%)
HSVhsv(50, 46%, 70%)
CMYKcmyk(0%, 7.9%, 46.1%, 30.2%)
CIE-LABlab(67.17, -4.45, 36.99)
CIE-LCHlch(67.17, 37.25, 96.86°)
OKLaboklab(71.55% -0.0125 0.0892)
OKLCHoklch(71.55% 0.09 98)
XYZxyz(33.7478, 36.8616, 16.4014)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A460 #606EB2
analogous
#B27B60 #B2A460 #97B260
triadic
#B2A460 #60B2A4 #A460B2
tetradic
#B2A460 #60B27B #606EB2 #B26097
square
#B2A460 #60B27B #606EB2 #B26097
split-complementary
#B2A460 #6097B2 #7B60B2
monochromatic
#665D31 #8F8345 #B2A460 #C6BC89 #DAD3B2

Accessibility & contrast

On white

2.51
#B2A460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#B2A460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A460
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A460#FFFFFF#000000##000000
##B2A4601.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2a460;
/* rgb */ color: rgb(178, 164, 96);
/* oklch */ color: oklch(71.5% 0.090 98.0);
Tailwind
colors: {
  custom: {
    50: '#cabe8e',
    500: '#b2a460',
    950: '#000000',
  },
}
SCSS
$custom: #b2a460;
$custom-light: #cabe8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a460",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 96
  },
  "hsl": {
    "h": 49.756,
    "s": 34.746,
    "l": 53.725
  },
  "oklch": {
    "l": 0.71549,
    "c": 0.09003,
    "h": 98
  },
  "luminance": 0.3686
}

Semantic roles & 50–950 ramp

primary
#B2A460
secondary
#A5ABC8
accent
#70CB5D
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A460

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

Preview Lab → · Contrast checker → · Palette generator →

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