#B2A53A#B2A53A

#B2A53A is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.3% C 0.126 H 102.3°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B2A53A
RGBrgb(178, 165, 58)
HSLhsl(54, 51%, 46%)
HSVhsv(54, 67%, 70%)
CMYKcmyk(0%, 7.3%, 67.4%, 30.2%)
CIE-LABlab(67.04, -8.00, 54.88)
CIE-LCHlch(67.04, 55.46, 98.29°)
OKLaboklab(71.31% -0.027 0.1234)
OKLCHoklch(71.31% 0.126 102.3)
XYZxyz(32.5803, 36.6821, 9.3664)
Luminance0.3668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A53A #3A47B2
analogous
#B2693A #B2A53A #83B23A
triadic
#B2A53A #3AB2A5 #A53AB2
tetradic
#B2A53A #3AB269 #3A47B2 #B23A83
square
#B2A53A #3AB269 #3A47B2 #B23A83
split-complementary
#B2A53A #3A83B2 #693AB2
monochromatic
#564F1C #847A2B #B2A53A #CBBF5F #DAD18D

Accessibility & contrast

On white

2.52
#B2A53A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B2A53A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A53A
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A53A#FFFFFF#000000##000000
##B2A53A1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A02C
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#BF9A8F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a53a;
/* rgb */ color: rgb(178, 165, 58);
/* oklch */ color: oklch(71.3% 0.126 102.3);
Tailwind
colors: {
  custom: {
    50: '#ccbf76',
    500: '#b2a53a',
    950: '#000000',
  },
}
SCSS
$custom: #b2a53a;
$custom-light: #ccbf76;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a53a",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 58
  },
  "hsl": {
    "h": 53.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71311,
    "c": 0.12636,
    "h": 102.3
  },
  "luminance": 0.36681
}

Semantic roles & 50–950 ramp

primary
#B2A53A
secondary
#838BC4
accent
#5DDA4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A53A

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

Preview Lab → · Contrast checker → · Palette generator →

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