#B2A241#B2A241

#B2A241 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.7% C 0.118 H 99.9°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B2A241
RGBrgb(178, 162, 65)
HSLhsl(52, 47%, 48%)
HSVhsv(52, 63%, 70%)
CMYKcmyk(0%, 9%, 63.5%, 30.2%)
CIE-LABlab(66.28, -5.97, 51.06)
CIE-LCHlch(66.28, 51.41, 96.67°)
OKLaboklab(70.73% -0.0204 0.1165)
OKLCHoklch(70.73% 0.118 99.9)
XYZxyz(32.2359, 35.6887, 10.1906)
Luminance0.3569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A241 #4151B2
analogous
#B26941 #B2A241 #8AB241
triadic
#B2A241 #41B2A2 #A241B2
tetradic
#B2A241 #41B269 #4151B2 #B2418A
square
#B2A241 #41B269 #4151B2 #B2418A
split-complementary
#B2A241 #418AB2 #6941B2
monochromatic
#585020 #857931 #B2A241 #C8BA68 #D8CF95

Accessibility & contrast

On white

2.58
#B2A241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B2A241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A241
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A241#FFFFFF#000000##000000
##B2A2411.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E36
Deuteranopia (green-blind)
#B5A446
Tritanopia (blue-blind)
#BF978D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a241;
/* rgb */ color: rgb(178, 162, 65);
/* oklch */ color: oklch(70.7% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#ccbd7a',
    500: '#b2a241',
    950: '#000000',
  },
}
SCSS
$custom: #b2a241;
$custom-light: #ccbd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a241",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 65
  },
  "hsl": {
    "h": 51.504,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70729,
    "c": 0.11824,
    "h": 99.9
  },
  "luminance": 0.35687
}

Semantic roles & 50–950 ramp

primary
#B2A241
secondary
#8B93C4
accent
#64D652
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A241

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

Preview Lab → · Contrast checker → · Palette generator →

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