#B2AD38#B2AD38

#B2AD38 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#B2AD38
RGBrgb(178, 173, 56)
HSLhsl(58, 52%, 46%)
HSVhsv(58, 69%, 70%)
CMYKcmyk(0%, 2.8%, 68.5%, 30.2%)
CIE-LABlab(69.21, -12.29, 57.90)
CIE-LCHlch(69.21, 59.19, 101.98°)
OKLaboklab(73.04% -0.0394 0.1295)
OKLCHoklch(73.04% 0.135 106.9)
XYZxyz(34.0187, 39.6388, 9.5997)
Luminance0.3964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD38 #383DB2
analogous
#B27038 #B2AD38 #7AB238
triadic
#B2AD38 #38B2AD #AD38B2
tetradic
#B2AD38 #38B270 #383DB2 #B2387A
square
#B2AD38 #38B270 #383DB2 #B2387A
split-complementary
#B2AD38 #387AB2 #7038B2
monochromatic
#55531B #838029 #B2AD38 #CCC75C #DAD78A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AD38#FFFFFF#000000##000000
##B2AD381.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)
#BBA626
Deuteranopia (green-blind)
#BEAB40
Tritanopia (blue-blind)
#BFA296
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ad38;
/* rgb */ color: rgb(178, 173, 56);
/* oklch */ color: oklch(73.0% 0.135 106.9);
Tailwind
colors: {
  custom: {
    50: '#ccc576',
    500: '#b2ad38',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad38;
$custom-light: #ccc576;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad38",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 56
  },
  "hsl": {
    "h": 57.541,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73036,
    "c": 0.13533,
    "h": 106.9
  },
  "luminance": 0.39638
}

Semantic roles & 50–950 ramp

primary
#B2AD38
secondary
#8184C5
accent
#52DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2AD38

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

Preview Lab → · Contrast checker → · Palette generator →

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