#B3AF41#B3AF41

#B3AF41 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.6% C 0.131 H 107.2°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#B3AF41
RGBrgb(179, 175, 65)
HSLhsl(58, 47%, 48%)
HSVhsv(58, 64%, 70%)
CMYKcmyk(0%, 2.2%, 63.7%, 29.8%)
CIE-LABlab(69.91, -12.36, 54.97)
CIE-LCHlch(69.91, 56.34, 102.67°)
OKLaboklab(73.64% -0.0386 0.1247)
OKLCHoklch(73.64% 0.131 107.2)
XYZxyz(34.8757, 40.6264, 11.0046)
Luminance0.4063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AF41 #4145B3
analogous
#B37641 #B3AF41 #7EB341
triadic
#B3AF41 #41B3AF #AF41B3
tetradic
#B3AF41 #41B376 #4145B3 #B3417E
square
#B3AF41 #41B376 #4145B3 #B3417E
split-complementary
#B3AF41 #417EB3 #7641B3
monochromatic
#595720 #868331 #B3AF41 #C8C569 #D9D696

Accessibility & contrast

On white

2.30
#B3AF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#B3AF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AF41
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AF41#FFFFFF#000000##000000
##B3AF411.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA833
Deuteranopia (green-blind)
#BFAD48
Tritanopia (blue-blind)
#BFA498
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b3af41;
/* rgb */ color: rgb(179, 175, 65);
/* oklch */ color: oklch(73.6% 0.131 107.2);
Tailwind
colors: {
  custom: {
    50: '#cdc67b',
    500: '#b3af41',
    950: '#000000',
  },
}
SCSS
$custom: #b3af41;
$custom-light: #cdc67b;
$custom-dark: #000000;
JSON
{
  "hex": "#b3af41",
  "rgb": {
    "r": 179,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 57.895,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73637,
    "c": 0.13056,
    "h": 107.2
  },
  "luminance": 0.40625
}

Semantic roles & 50–950 ramp

primary
#B3AF41
secondary
#8B8DC4
accent
#56D651
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B3AF41

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

Preview Lab → · Contrast checker → · Palette generator →

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