#B2A442#B2A442

#B2A442 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.119 H 101.2°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B2A442
RGBrgb(178, 164, 66)
HSLhsl(53, 46%, 48%)
HSVhsv(53, 63%, 70%)
CMYKcmyk(0%, 7.9%, 62.9%, 30.2%)
CIE-LABlab(66.83, -6.97, 51.21)
CIE-LCHlch(66.83, 51.68, 97.75°)
OKLaboklab(71.17% -0.0231 0.1169)
OKLCHoklch(71.17% 0.119 101.2)
XYZxyz(32.6202, 36.4106, 10.4629)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A442 #4250B2
analogous
#B26C42 #B2A442 #88B242
triadic
#B2A442 #42B2A4 #A442B2
tetradic
#B2A442 #42B26C #4250B2 #B24288
square
#B2A442 #42B26C #4250B2 #B24288
split-complementary
#B2A442 #4288B2 #6C42B2
monochromatic
#595221 #857B31 #B2A442 #C8BC6A #D8D096

Accessibility & contrast

On white

2.54
#B2A442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B2A442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A442
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A442#FFFFFF#000000##000000
##B2A4421.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F37
Deuteranopia (green-blind)
#B6A547
Tritanopia (blue-blind)
#BF998F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a442;
/* rgb */ color: rgb(178, 164, 66);
/* oklch */ color: oklch(71.2% 0.119 101.2);
Tailwind
colors: {
  custom: {
    50: '#ccbe7b',
    500: '#b2a442',
    950: '#000000',
  },
}
SCSS
$custom: #b2a442;
$custom-light: #ccbe7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a442",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 66
  },
  "hsl": {
    "h": 52.5,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71169,
    "c": 0.1192,
    "h": 101.2
  },
  "luminance": 0.36409
}

Semantic roles & 50–950 ramp

primary
#B2A442
secondary
#8C93C4
accent
#63D652
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A442

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

Preview Lab → · Contrast checker → · Palette generator →

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