#B3AF36#B3AF36

#B3AF36 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.5% C 0.139 H 107.5°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#B3AF36
RGBrgb(179, 175, 54)
HSLhsl(58, 54%, 46%)
HSVhsv(58, 70%, 70%)
CMYKcmyk(0%, 2.2%, 69.8%, 29.8%)
CIE-LABlab(69.83, -13.00, 59.32)
CIE-LCHlch(69.83, 60.73, 102.36°)
OKLaboklab(73.55% -0.0416 0.1321)
OKLCHoklch(73.55% 0.139 107.5)
XYZxyz(34.5875, 40.5111, 9.4868)
Luminance0.4051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AF36 #363AB3
analogous
#B37036 #B3AF36 #78B336
triadic
#B3AF36 #36B3AF #AF36B3
tetradic
#B3AF36 #36B370 #363AB3 #B33678
square
#B3AF36 #36B370 #363AB3 #B33678
split-complementary
#B3AF36 #3678B3 #7036B3
monochromatic
#55531A #848128 #B3AF36 #CDC959 #DBD988

Accessibility & contrast

On white

2.31
#B3AF36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#B3AF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AF36
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AF36#FFFFFF#000000##000000
##B3AF361.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA823
Deuteranopia (green-blind)
#C0AD3E
Tritanopia (blue-blind)
#C0A497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b3af36;
/* rgb */ color: rgb(179, 175, 54);
/* oklch */ color: oklch(73.5% 0.139 107.5);
Tailwind
colors: {
  custom: {
    50: '#cdc675',
    500: '#b3af36',
    950: '#000000',
  },
}
SCSS
$custom: #b3af36;
$custom-light: #cdc675;
$custom-dark: #000000;
JSON
{
  "hex": "#b3af36",
  "rgb": {
    "r": 179,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 58.08,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73546,
    "c": 0.1385,
    "h": 107.5
  },
  "luminance": 0.4051
}

Semantic roles & 50–950 ramp

primary
#B3AF36
secondary
#8082C5
accent
#4FDD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B3AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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