#B2A93A#B2A93A

#B2A93A is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.2% C 0.130 H 104.7°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#B2A93A
RGBrgb(178, 169, 58)
HSLhsl(56, 51%, 46%)
HSVhsv(56, 67%, 70%)
CMYKcmyk(0%, 5.1%, 67.4%, 30.2%)
CIE-LABlab(68.13, -10.10, 56.00)
CIE-LCHlch(68.13, 56.90, 100.22°)
OKLaboklab(72.18% -0.0329 0.1258)
OKLCHoklch(72.18% 0.13 104.7)
XYZxyz(33.3131, 38.1476, 9.6106)
Luminance0.3815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A93A #3A43B2
analogous
#B26D3A #B2A93A #7FB23A
triadic
#B2A93A #3AB2A9 #A93AB2
tetradic
#B2A93A #3AB26D #3A43B2 #B23A7F
square
#B2A93A #3AB26D #3A43B2 #B23A7F
split-complementary
#B2A93A #3A7FB2 #6D3AB2
monochromatic
#56511C #847D2B #B2A93A #CBC35F #DAD48D

Accessibility & contrast

On white

2.43
#B2A93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#B2A93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A93A
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A93A#FFFFFF#000000##000000
##B2A93A1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A32B
Deuteranopia (green-blind)
#BBA841
Tritanopia (blue-blind)
#BF9E92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b2a93a;
/* rgb */ color: rgb(178, 169, 58);
/* oklch */ color: oklch(72.2% 0.130 104.7);
Tailwind
colors: {
  custom: {
    50: '#ccc276',
    500: '#b2a93a',
    950: '#000000',
  },
}
SCSS
$custom: #b2a93a;
$custom-light: #ccc276;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a93a",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 58
  },
  "hsl": {
    "h": 55.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72178,
    "c": 0.13005,
    "h": 104.7
  },
  "luminance": 0.38146
}

Semantic roles & 50–950 ramp

primary
#B2A93A
secondary
#8388C4
accent
#58DA4D
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A93A

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

Preview Lab → · Contrast checker → · Palette generator →

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