#B2A462#B2A462

#B2A462 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.6% C 0.088 H 97.7°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#B2A462
RGBrgb(178, 164, 98)
HSLhsl(50, 34%, 54%)
HSVhsv(50, 45%, 70%)
CMYKcmyk(0%, 7.9%, 44.9%, 30.2%)
CIE-LABlab(67.20, -4.24, 35.98)
CIE-LCHlch(67.20, 36.23, 96.73°)
OKLaboklab(71.58% -0.0117 0.087)
OKLCHoklch(71.58% 0.088 97.7)
XYZxyz(33.8410, 36.8989, 16.8925)
Luminance0.3690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A462 #6270B2
analogous
#B27C62 #B2A462 #98B262
triadic
#B2A462 #62B2A4 #A462B2
tetradic
#B2A462 #62B27C #6270B2 #B26298
square
#B2A462 #62B27C #6270B2 #B26298
split-complementary
#B2A462 #6298B2 #7C62B2
monochromatic
#675E33 #908347 #B2A462 #C6BC8B #DAD4B4

Accessibility & contrast

On white

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

On black

8.38
#B2A462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A462
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A462#FFFFFF#000000##000000
##B2A4621.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A15D
Deuteranopia (green-blind)
#B4A665
Tritanopia (blue-blind)
#BD9B94
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a462;
/* rgb */ color: rgb(178, 164, 98);
/* oklch */ color: oklch(71.6% 0.088 97.7);
Tailwind
colors: {
  custom: {
    50: '#cabe90',
    500: '#b2a462',
    950: '#000000',
  },
}
SCSS
$custom: #b2a462;
$custom-light: #cabe90;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a462",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 98
  },
  "hsl": {
    "h": 49.5,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.7158,
    "c": 0.08782,
    "h": 97.7
  },
  "luminance": 0.36898
}

Semantic roles & 50–950 ramp

primary
#B2A462
secondary
#A7ADC9
accent
#71CA5E
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A462

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

Preview Lab → · Contrast checker → · Palette generator →

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