#B2A24A#B2A24A

#B2A24A is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.110 H 99.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B2A24A
RGBrgb(178, 162, 74)
HSLhsl(51, 41%, 49%)
HSVhsv(51, 58%, 70%)
CMYKcmyk(0%, 9%, 58.4%, 30.2%)
CIE-LABlab(66.37, -5.33, 47.00)
CIE-LCHlch(66.37, 47.30, 96.47°)
OKLaboklab(70.83% -0.0175 0.109)
OKLCHoklch(70.83% 0.11 99.1)
XYZxyz(32.5177, 35.8014, 11.6747)
Luminance0.3580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A24A #4A5AB2
analogous
#B26E4A #B2A24A #8EB24A
triadic
#B2A24A #4AB2A2 #A24AB2
tetradic
#B2A24A #4AB26E #4A5AB2 #B24A8E
square
#B2A24A #4AB26E #4A5AB2 #B24A8E
split-complementary
#B2A24A #4A8EB2 #6E4AB2
monochromatic
#5C5326 #877B38 #B2A24A #C5B974 #D7CF9F

Accessibility & contrast

On white

2.57
#B2A24A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#B2A24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A24A
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A24A#FFFFFF#000000##000000
##B2A24A1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E41
Deuteranopia (green-blind)
#B4A44E
Tritanopia (blue-blind)
#BF978F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a24a;
/* rgb */ color: rgb(178, 162, 74);
/* oklch */ color: oklch(70.8% 0.110 99.1);
Tailwind
colors: {
  custom: {
    50: '#cbbd80',
    500: '#b2a24a',
    950: '#000000',
  },
}
SCSS
$custom: #b2a24a;
$custom-light: #cbbd80;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a24a",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 74
  },
  "hsl": {
    "h": 50.769,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70825,
    "c": 0.11042,
    "h": 99.1
  },
  "luminance": 0.358
}

Semantic roles & 50–950 ramp

primary
#B2A24A
secondary
#949BC4
accent
#6AD157
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A24A

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

Preview Lab → · Contrast checker → · Palette generator →

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