#B2A224#B2A224

#B2A224 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.137 H 101.6°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#B2A224
RGBrgb(178, 162, 36)
HSLhsl(53, 66%, 42%)
HSVhsv(53, 80%, 70%)
CMYKcmyk(0%, 9%, 79.8%, 30.2%)
CIE-LABlab(66.09, -7.44, 62.01)
CIE-LCHlch(66.09, 62.45, 96.84°)
OKLaboklab(70.51% -0.0276 0.1345)
OKLCHoklch(70.51% 0.137 101.6)
XYZxyz(31.6004, 35.4345, 6.8438)
Luminance0.3543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A224 #2434B2
analogous
#B25B24 #B2A224 #7BB224
triadic
#B2A224 #24B2A2 #A224B2
tetradic
#B2A224 #24B25B #2434B2 #B2247B
square
#B2A224 #24B25B #2434B2 #B2247B
split-complementary
#B2A224 #247BB2 #5B24B2
monochromatic
#4C450F #7F741A #B2A224 #D8C63C #E2D56F

Accessibility & contrast

On white

2.60
#B2A224 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#B2A224 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A224
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A224#FFFFFF#000000##000000
##B2A2241.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#C0968B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a224;
/* rgb */ color: rgb(178, 162, 36);
/* oklch */ color: oklch(70.5% 0.137 101.6);
Tailwind
colors: {
  custom: {
    50: '#cdbd6b',
    500: '#b2a224',
    950: '#000000',
  },
}
SCSS
$custom: #b2a224;
$custom-light: #cdbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a224",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 36
  },
  "hsl": {
    "h": 53.239,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70511,
    "c": 0.13727,
    "h": 101.6
  },
  "luminance": 0.35433
}

Semantic roles & 50–950 ramp

primary
#B2A224
secondary
#6974C8
accent
#52E93F
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B2A224

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

Preview Lab → · Contrast checker → · Palette generator →

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