#B2AD39#B2AD39

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

Color values

HEX#B2AD39
RGBrgb(178, 173, 57)
HSLhsl(58, 51%, 46%)
HSVhsv(58, 68%, 70%)
CMYKcmyk(0%, 2.8%, 68%, 30.2%)
CIE-LABlab(69.22, -12.23, 57.51)
CIE-LCHlch(69.22, 58.80, 102.01°)
OKLaboklab(73.04% -0.0391 0.1288)
OKLCHoklch(73.04% 0.135 106.9)
XYZxyz(34.0434, 39.6487, 9.7298)
Luminance0.3965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD39 #393EB2
analogous
#B27039 #B2AD39 #7AB239
triadic
#B2AD39 #39B2AD #AD39B2
tetradic
#B2AD39 #39B270 #393EB2 #B2397A
square
#B2AD39 #39B270 #393EB2 #B2397A
split-complementary
#B2AD39 #397AB2 #7039B2
monochromatic
#55531B #84802A #B2AD39 #CBC75D #DAD78B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AD39#FFFFFF#000000##000000
##B2AD391.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)
#BBA628
Deuteranopia (green-blind)
#BEAB41
Tritanopia (blue-blind)
#BFA296
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ad39;
/* rgb */ color: rgb(178, 173, 57);
/* oklch */ color: oklch(73.0% 0.135 106.9);
Tailwind
colors: {
  custom: {
    50: '#ccc576',
    500: '#b2ad39',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad39;
$custom-light: #ccc576;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad39",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 57
  },
  "hsl": {
    "h": 57.521,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73044,
    "c": 0.13463,
    "h": 106.9
  },
  "luminance": 0.39648
}

Semantic roles & 50–950 ramp

primary
#B2AD39
secondary
#8285C4
accent
#53DB4D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AD39

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

Preview Lab → · Contrast checker → · Palette generator →

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