#B2A541#B2A541

#B2A541 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.4% C 0.121 H 101.9°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B2A541
RGBrgb(178, 165, 65)
HSLhsl(53, 47%, 48%)
HSVhsv(53, 63%, 70%)
CMYKcmyk(0%, 7.3%, 63.5%, 30.2%)
CIE-LABlab(67.10, -7.56, 51.94)
CIE-LCHlch(67.10, 52.48, 98.29°)
OKLaboklab(71.38% -0.025 0.1183)
OKLCHoklch(71.38% 0.121 101.9)
XYZxyz(32.7706, 36.7582, 10.3689)
Luminance0.3676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A541 #414EB2
analogous
#B26C41 #B2A541 #87B241
triadic
#B2A541 #41B2A5 #A541B2
tetradic
#B2A541 #41B26C #414EB2 #B24187
square
#B2A541 #41B26C #414EB2 #B24187
split-complementary
#B2A541 #4187B2 #6C41B2
monochromatic
#585220 #857B31 #B2A541 #C8BD68 #D8D195

Accessibility & contrast

On white

2.51
#B2A541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#B2A541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A541
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A541#FFFFFF#000000##000000
##B2A5411.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A035
Deuteranopia (green-blind)
#B7A646
Tritanopia (blue-blind)
#BF9A90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a541;
/* rgb */ color: rgb(178, 165, 65);
/* oklch */ color: oklch(71.4% 0.121 101.9);
Tailwind
colors: {
  custom: {
    50: '#ccbf7a',
    500: '#b2a541',
    950: '#000000',
  },
}
SCSS
$custom: #b2a541;
$custom-light: #ccbf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a541",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 65
  },
  "hsl": {
    "h": 53.097,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71375,
    "c": 0.12092,
    "h": 101.9
  },
  "luminance": 0.36757
}

Semantic roles & 50–950 ramp

primary
#B2A541
secondary
#8B91C4
accent
#61D652
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A541

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

Preview Lab → · Contrast checker → · Palette generator →

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