#B2A262#B2A262

#B2A262 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.2% C 0.086 H 95.8°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#B2A262
RGBrgb(178, 162, 98)
HSLhsl(48, 34%, 54%)
HSVhsv(48, 45%, 70%)
CMYKcmyk(0%, 9%, 44.9%, 30.2%)
CIE-LABlab(66.66, -3.17, 35.31)
CIE-LCHlch(66.66, 35.45, 95.13°)
OKLaboklab(71.16% -0.0086 0.0855)
OKLCHoklch(71.16% 0.086 95.8)
XYZxyz(33.4859, 36.1887, 16.7741)
Luminance0.3619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A262 #6272B2
analogous
#B27A62 #B2A262 #9AB262
triadic
#B2A262 #62B2A2 #A262B2
tetradic
#B2A262 #62B27A #6272B2 #B2629A
square
#B2A262 #62B27A #6272B2 #B2629A
split-complementary
#B2A262 #629AB2 #7A62B2
monochromatic
#675D33 #908147 #B2A262 #C6BA8B #DAD3B4

Accessibility & contrast

On white

2.55
#B2A262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#B2A262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A262
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A262#FFFFFF#000000##000000
##B2A2621.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F5D
Deuteranopia (green-blind)
#B2A464
Tritanopia (blue-blind)
#BD9992
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a262;
/* rgb */ color: rgb(178, 162, 98);
/* oklch */ color: oklch(71.2% 0.086 95.8);
Tailwind
colors: {
  custom: {
    50: '#cabd90',
    500: '#b2a262',
    950: '#000000',
  },
}
SCSS
$custom: #b2a262;
$custom-light: #cabd90;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a262",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 98
  },
  "hsl": {
    "h": 48,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.71155,
    "c": 0.08594,
    "h": 95.8
  },
  "luminance": 0.36187
}

Semantic roles & 50–950 ramp

primary
#B2A262
secondary
#A7AEC9
accent
#73CA5E
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A262

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

Preview Lab → · Contrast checker → · Palette generator →

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