#B2AD4D#B2AD4D

#B2AD4D is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.2% C 0.118 H 106.2°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#B2AD4D
RGBrgb(178, 173, 77)
HSLhsl(57, 40%, 50%)
HSVhsv(57, 57%, 70%)
CMYKcmyk(0%, 2.8%, 56.7%, 30.2%)
CIE-LABlab(69.39, -10.90, 49.01)
CIE-LCHlch(69.39, 50.21, 102.54°)
OKLaboklab(73.24% -0.0331 0.1137)
OKLCHoklch(73.24% 0.118 106.2)
XYZxyz(34.6443, 39.8890, 12.8941)
Luminance0.3989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD4D #4D52B2
analogous
#B27B4D #B2AD4D #84B24D
triadic
#B2AD4D #4DB2AD #AD4DB2
tetradic
#B2AD4D #4DB27B #4D52B2 #B24D84
square
#B2AD4D #4DB27B #4D52B2 #B24D84
split-complementary
#B2AD4D #4D84B2 #7B4DB2
monochromatic
#5D5A28 #87833B #B2AD4D #C4C178 #D7D4A2

Accessibility & contrast

On white

2.34
#B2AD4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#B2AD4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AD4D
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AD4D#FFFFFF#000000##000000
##B2AD4D1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA743
Deuteranopia (green-blind)
#BDAB52
Tritanopia (blue-blind)
#BEA398
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ad4d;
/* rgb */ color: rgb(178, 173, 77);
/* oklch */ color: oklch(73.2% 0.118 106.2);
Tailwind
colors: {
  custom: {
    50: '#cbc582',
    500: '#b2ad4d',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad4d;
$custom-light: #cbc582;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad4d",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 77
  },
  "hsl": {
    "h": 57.03,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.73236,
    "c": 0.11842,
    "h": 106.2
  },
  "luminance": 0.39888
}

Semantic roles & 50–950 ramp

primary
#B2AD4D
secondary
#9799C4
accent
#5ECF58
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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