#B2A741#B2A741

#B2A741 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.8% C 0.123 H 103.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#B2A741
RGBrgb(178, 167, 65)
HSLhsl(54, 47%, 48%)
HSVhsv(54, 63%, 70%)
CMYKcmyk(0%, 6.2%, 63.5%, 30.2%)
CIE-LABlab(67.64, -8.62, 52.52)
CIE-LCHlch(67.64, 53.22, 99.32°)
OKLaboklab(71.81% -0.028 0.1196)
OKLCHoklch(71.81% 0.123 103.2)
XYZxyz(33.1342, 37.4853, 10.4900)
Luminance0.3748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A741 #414CB2
analogous
#B26E41 #B2A741 #85B241
triadic
#B2A741 #41B2A7 #A741B2
tetradic
#B2A741 #41B26E #414CB2 #B24185
square
#B2A741 #41B26E #414CB2 #B24185
split-complementary
#B2A741 #4185B2 #6E41B2
monochromatic
#585320 #857D31 #B2A741 #C8BF68 #D8D295

Accessibility & contrast

On white

2.47
#B2A741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#B2A741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A741
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A741#FFFFFF#000000##000000
##B2A7411.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A235
Deuteranopia (green-blind)
#B9A747
Tritanopia (blue-blind)
#BF9C92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a741;
/* rgb */ color: rgb(178, 167, 65);
/* oklch */ color: oklch(71.8% 0.123 103.2);
Tailwind
colors: {
  custom: {
    50: '#ccc07a',
    500: '#b2a741',
    950: '#000000',
  },
}
SCSS
$custom: #b2a741;
$custom-light: #ccc07a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a741",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 65
  },
  "hsl": {
    "h": 54.159,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71807,
    "c": 0.12279,
    "h": 103.2
  },
  "luminance": 0.37484
}

Semantic roles & 50–950 ramp

primary
#B2A741
secondary
#8B90C4
accent
#5FD652
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A741

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

Preview Lab → · Contrast checker → · Palette generator →

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