#B3AD2F#B3AD2F

#B3AD2F is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.1% C 0.141 H 106.6°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#B3AD2F
RGBrgb(179, 173, 47)
HSLhsl(57, 58%, 44%)
HSVhsv(57, 74%, 70%)
CMYKcmyk(0%, 3.4%, 73.7%, 29.8%)
CIE-LABlab(69.24, -12.31, 61.31)
CIE-LCHlch(69.24, 62.53, 101.35°)
OKLaboklab(73.06% -0.0403 0.135)
OKLCHoklch(73.06% 0.141 106.6)
XYZxyz(34.0484, 39.6773, 8.5537)
Luminance0.3968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AD2F #2F35B3
analogous
#B36B2F #B3AD2F #77B32F
triadic
#B3AD2F #2FB3AD #AD2FB3
tetradic
#B3AD2F #2FB36B #2F35B3 #B32F77
square
#B3AD2F #2FB36B #2F35B3 #B32F77
split-complementary
#B3AD2F #2F77B3 #6B2FB3
monochromatic
#524F16 #837E22 #B3AD2F #D1CB4F #DDD97F

Accessibility & contrast

On white

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

On black

8.94
#B3AD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AD2F
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AD2F#FFFFFF#000000##000000
##B3AD2F1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA616
Deuteranopia (green-blind)
#BFAB38
Tritanopia (blue-blind)
#C0A195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b3ad2f;
/* rgb */ color: rgb(179, 173, 47);
/* oklch */ color: oklch(73.1% 0.141 106.6);
Tailwind
colors: {
  custom: {
    50: '#cdc571',
    500: '#b3ad2f',
    950: '#000000',
  },
}
SCSS
$custom: #b3ad2f;
$custom-light: #cdc571;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ad2f",
  "rgb": {
    "r": 179,
    "g": 173,
    "b": 47
  },
  "hsl": {
    "h": 57.273,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7306,
    "c": 0.14094,
    "h": 106.6
  },
  "luminance": 0.39676
}

Semantic roles & 50–950 ramp

primary
#B3AD2F
secondary
#787BC6
accent
#4DE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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