#B2A641#B2A641

#B2A641 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.122 H 102.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B2A641
RGBrgb(178, 166, 65)
HSLhsl(54, 47%, 48%)
HSVhsv(54, 63%, 70%)
CMYKcmyk(0%, 6.7%, 63.5%, 30.2%)
CIE-LABlab(67.37, -8.09, 52.23)
CIE-LCHlch(67.37, 52.85, 98.81°)
OKLaboklab(71.59% -0.0265 0.1189)
OKLCHoklch(71.59% 0.122 102.5)
XYZxyz(32.9517, 37.1204, 10.4292)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A641 #414DB2
analogous
#B26D41 #B2A641 #86B241
triadic
#B2A641 #41B2A6 #A641B2
tetradic
#B2A641 #41B26D #414DB2 #B24186
square
#B2A641 #41B26D #414DB2 #B24186
split-complementary
#B2A641 #4186B2 #6D41B2
monochromatic
#585220 #857C31 #B2A641 #C8BE68 #D8D195

Accessibility & contrast

On white

2.49
#B2A641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B2A641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A641
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A641#FFFFFF#000000##000000
##B2A6411.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A135
Deuteranopia (green-blind)
#B8A647
Tritanopia (blue-blind)
#BF9B91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a641;
/* rgb */ color: rgb(178, 166, 65);
/* oklch */ color: oklch(71.6% 0.122 102.5);
Tailwind
colors: {
  custom: {
    50: '#ccc07a',
    500: '#b2a641',
    950: '#000000',
  },
}
SCSS
$custom: #b2a641;
$custom-light: #ccc07a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a641",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 65
  },
  "hsl": {
    "h": 53.628,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71591,
    "c": 0.12185,
    "h": 102.5
  },
  "luminance": 0.37119
}

Semantic roles & 50–950 ramp

primary
#B2A641
secondary
#8B91C4
accent
#60D652
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A641

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

Preview Lab → · Contrast checker → · Palette generator →

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