#B4AD38#B4AD38

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

Color values

HEX#B4AD38
RGBrgb(180, 173, 56)
HSLhsl(57, 53%, 46%)
HSVhsv(57, 69%, 71%)
CMYKcmyk(0%, 3.9%, 68.9%, 29.4%)
CIE-LABlab(69.38, -11.42, 58.13)
CIE-LCHlch(69.38, 59.24, 101.12°)
OKLaboklab(73.21% -0.037 0.1299)
OKLCHoklch(73.21% 0.135 105.9)
XYZxyz(34.4811, 39.8772, 9.6214)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AD38 #383FB4
analogous
#B46F38 #B4AD38 #7DB438
triadic
#B4AD38 #38B4AD #AD38B4
tetradic
#B4AD38 #38B46F #383FB4 #B4387D
square
#B4AD38 #38B46F #383FB4 #B4387D
split-complementary
#B4AD38 #387DB4 #6F38B4
monochromatic
#57531B #858029 #B4AD38 #CDC65D #DBD78B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AD38#FFFFFF#000000##000000
##B4AD381.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)
#BCA726
Deuteranopia (green-blind)
#BFAC40
Tritanopia (blue-blind)
#C1A296
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b4ad38;
/* rgb */ color: rgb(180, 173, 56);
/* oklch */ color: oklch(73.2% 0.135 105.9);
Tailwind
colors: {
  custom: {
    50: '#cec576',
    500: '#b4ad38',
    950: '#000000',
  },
}
SCSS
$custom: #b4ad38;
$custom-light: #cec576;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ad38",
  "rgb": {
    "r": 180,
    "g": 173,
    "b": 56
  },
  "hsl": {
    "h": 56.613,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73213,
    "c": 0.13507,
    "h": 105.9
  },
  "luminance": 0.39876
}

Semantic roles & 50–950 ramp

primary
#B4AD38
secondary
#8286C5
accent
#54DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AD38

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

Preview Lab → · Contrast checker → · Palette generator →

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