#B2AD34#B2AD34

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

Color values

HEX#B2AD34
RGBrgb(178, 173, 52)
HSLhsl(58, 55%, 45%)
HSVhsv(58, 71%, 70%)
CMYKcmyk(0%, 2.8%, 70.8%, 30.2%)
CIE-LABlab(69.18, -12.50, 59.41)
CIE-LCHlch(69.18, 60.71, 101.88°)
OKLaboklab(73.01% -0.0404 0.132)
OKLCHoklch(73.01% 0.138 107)
XYZxyz(33.9248, 39.6012, 9.1049)
Luminance0.3960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD34 #3439B2
analogous
#B26E34 #B2AD34 #78B234
triadic
#B2AD34 #34B2AD #AD34B2
tetradic
#B2AD34 #34B26E #3439B2 #B23478
square
#B2AD34 #34B26E #3439B2 #B23478
split-complementary
#B2AD34 #3478B2 #6E34B2
monochromatic
#535118 #837F26 #B2AD34 #CEC956 #DBD885

Accessibility & contrast

On white

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

On black

8.92
#B2AD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AD34
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AD34#FFFFFF#000000##000000
##B2AD341.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2ad34;
/* rgb */ color: rgb(178, 173, 52);
/* oklch */ color: oklch(73.0% 0.138 107.0);
Tailwind
colors: {
  custom: {
    50: '#ccc573',
    500: '#b2ad34',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad34;
$custom-light: #ccc573;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad34",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 52
  },
  "hsl": {
    "h": 57.619,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73006,
    "c": 0.138,
    "h": 107
  },
  "luminance": 0.396
}

Semantic roles & 50–950 ramp

primary
#B2AD34
secondary
#7D80C5
accent
#50DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2AD34

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

Preview Lab → · Contrast checker → · Palette generator →

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