#B4AD3F#B4AD3F

#B4AD3F is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.3% C 0.130 H 105.7°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#B4AD3F
RGBrgb(180, 173, 63)
HSLhsl(56, 48%, 48%)
HSVhsv(56, 65%, 71%)
CMYKcmyk(0%, 3.9%, 65%, 29.4%)
CIE-LABlab(69.43, -11.02, 55.33)
CIE-LCHlch(69.43, 56.42, 101.26°)
OKLaboklab(73.27% -0.0351 0.1252)
OKLCHoklch(73.27% 0.13 105.7)
XYZxyz(34.6644, 39.9505, 10.5869)
Luminance0.3995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AD3F #3F46B4
analogous
#B4723F #B4AD3F #81B43F
triadic
#B4AD3F #3FB4AD #AD3FB4
tetradic
#B4AD3F #3FB472 #3F46B4 #B43F81
square
#B4AD3F #3FB472 #3F46B4 #B43F81
split-complementary
#B4AD3F #3F81B4 #723FB4
monochromatic
#59561F #87812F #B4AD3F #CAC467 #DAD594

Accessibility & contrast

On white

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

On black

8.99
#B4AD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AD3F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AD3F#FFFFFF#000000##000000
##B4AD3F1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA731
Deuteranopia (green-blind)
#BEAC46
Tritanopia (blue-blind)
#C1A296
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b4ad3f;
/* rgb */ color: rgb(180, 173, 63);
/* oklch */ color: oklch(73.3% 0.130 105.7);
Tailwind
colors: {
  custom: {
    50: '#cdc57a',
    500: '#b4ad3f',
    950: '#000000',
  },
}
SCSS
$custom: #b4ad3f;
$custom-light: #cdc57a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ad3f",
  "rgb": {
    "r": 180,
    "g": 173,
    "b": 63
  },
  "hsl": {
    "h": 56.41,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73271,
    "c": 0.12998,
    "h": 105.7
  },
  "luminance": 0.39949
}

Semantic roles & 50–950 ramp

primary
#B4AD3F
secondary
#8A8DC5
accent
#58D850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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