#B2AD37#B2AD37

#B2AD37 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.0% C 0.136 H 106.9°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#B2AD37
RGBrgb(178, 173, 55)
HSLhsl(58, 53%, 46%)
HSVhsv(58, 69%, 70%)
CMYKcmyk(0%, 2.8%, 69.1%, 30.2%)
CIE-LABlab(69.20, -12.34, 58.29)
CIE-LCHlch(69.20, 59.58, 101.96°)
OKLaboklab(73.03% -0.0396 0.1301)
OKLCHoklch(73.03% 0.136 106.9)
XYZxyz(33.9945, 39.6291, 9.4722)
Luminance0.3963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD37 #373CB2
analogous
#B26F37 #B2AD37 #79B237
triadic
#B2AD37 #37B2AD #AD37B2
tetradic
#B2AD37 #37B26F #373CB2 #B23779
square
#B2AD37 #37B26F #373CB2 #B23779
split-complementary
#B2AD37 #3779B2 #6F37B2
monochromatic
#54521A #838029 #B2AD37 #CCC75A #DBD789

Accessibility & contrast

On white

2.35
#B2AD37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#B2AD37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AD37
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AD37#FFFFFF#000000##000000
##B2AD371.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA625
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#BFA295
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ad37;
/* rgb */ color: rgb(178, 173, 55);
/* oklch */ color: oklch(73.0% 0.136 106.9);
Tailwind
colors: {
  custom: {
    50: '#ccc575',
    500: '#b2ad37',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad37;
$custom-light: #ccc575;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad37",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 55
  },
  "hsl": {
    "h": 57.561,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73028,
    "c": 0.13602,
    "h": 106.9
  },
  "luminance": 0.39628
}

Semantic roles & 50–950 ramp

primary
#B2AD37
secondary
#8083C5
accent
#51DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2AD37

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

Preview Lab → · Contrast checker → · Palette generator →

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