#B2AD2E#B2AD2E

#B2AD2E is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.0% C 0.142 H 107.1°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#B2AD2E
RGBrgb(178, 173, 46)
HSLhsl(58, 59%, 44%)
HSVhsv(58, 74%, 70%)
CMYKcmyk(0%, 2.8%, 74.2%, 30.2%)
CIE-LABlab(69.15, -12.79, 61.54)
CIE-LCHlch(69.15, 62.85, 101.74°)
OKLaboklab(72.97% -0.0417 0.1354)
OKLCHoklch(72.97% 0.142 107.1)
XYZxyz(33.7982, 39.5506, 8.4379)
Luminance0.3955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD2E #2E33B2
analogous
#B26B2E #B2AD2E #75B22E
triadic
#B2AD2E #2EB2AD #AD2EB2
tetradic
#B2AD2E #2EB26B #2E33B2 #B22E75
square
#B2AD2E #2EB26B #2E33B2 #B22E75
split-complementary
#B2AD2E #2E75B2 #6B2EB2
monochromatic
#514E15 #817E21 #B2AD2E #D1CC4C #DDDA7D

Accessibility & contrast

On white

2.36
#B2AD2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#B2AD2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AD2E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AD2E#FFFFFF#000000##000000
##B2AD2E1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA614
Deuteranopia (green-blind)
#BEAB38
Tritanopia (blue-blind)
#BFA195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ad2e;
/* rgb */ color: rgb(178, 173, 46);
/* oklch */ color: oklch(73.0% 0.142 107.1);
Tailwind
colors: {
  custom: {
    50: '#cdc570',
    500: '#b2ad2e',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad2e;
$custom-light: #cdc570;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad2e",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 46
  },
  "hsl": {
    "h": 57.727,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72965,
    "c": 0.14167,
    "h": 107.1
  },
  "luminance": 0.39549
}

Semantic roles & 50–950 ramp

primary
#B2AD2E
secondary
#7679C6
accent
#4CE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AD2E

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

Preview Lab → · Contrast checker → · Palette generator →

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