#B3AF39#B3AF39

#B3AF39 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.6% C 0.136 H 107.4°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#B3AF39
RGBrgb(179, 175, 57)
HSLhsl(58, 52%, 46%)
HSVhsv(58, 68%, 70%)
CMYKcmyk(0%, 2.2%, 68.2%, 29.8%)
CIE-LABlab(69.85, -12.84, 58.18)
CIE-LCHlch(69.85, 59.58, 102.44°)
OKLaboklab(73.57% -0.0408 0.1302)
OKLCHoklch(73.57% 0.136 107.4)
XYZxyz(34.6602, 40.5402, 9.8694)
Luminance0.4054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AF39 #393DB3
analogous
#B37239 #B3AF39 #7AB339
triadic
#B3AF39 #39B3AF #AF39B3
tetradic
#B3AF39 #39B372 #393DB3 #B3397A
square
#B3AF39 #39B372 #393DB3 #B3397A
split-complementary
#B3AF39 #397AB3 #7239B3
monochromatic
#56541B #85822A #B3AF39 #CCC85E #DAD88C

Accessibility & contrast

On white

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

On black

9.11
#B3AF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AF39
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AF39#FFFFFF#000000##000000
##B3AF391.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3af39;
/* rgb */ color: rgb(179, 175, 57);
/* oklch */ color: oklch(73.6% 0.136 107.4);
Tailwind
colors: {
  custom: {
    50: '#cdc676',
    500: '#b3af39',
    950: '#000000',
  },
}
SCSS
$custom: #b3af39;
$custom-light: #cdc676;
$custom-dark: #000000;
JSON
{
  "hex": "#b3af39",
  "rgb": {
    "r": 179,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 58.033,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73569,
    "c": 0.13646,
    "h": 107.4
  },
  "luminance": 0.40539
}

Semantic roles & 50–950 ramp

primary
#B3AF39
secondary
#8385C5
accent
#51DB4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B3AF39

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

Preview Lab → · Contrast checker → · Palette generator →

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