#B7AF44#B7AF44

#B7AF44 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.0% C 0.128 H 105.0°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#B7AF44
RGBrgb(183, 175, 68)
HSLhsl(56, 46%, 49%)
HSVhsv(56, 63%, 72%)
CMYKcmyk(0%, 4.4%, 62.8%, 28.2%)
CIE-LABlab(70.28, -10.45, 54.17)
CIE-LCHlch(70.28, 55.16, 100.92°)
OKLaboklab(74.02% -0.0331 0.1234)
OKLCHoklch(74.02% 0.128 105)
XYZxyz(35.9031, 41.1458, 11.5184)
Luminance0.4114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AF44 #444CB7
analogous
#B77644 #B7AF44 #86B744
triadic
#B7AF44 #44B7AF #AF44B7
tetradic
#B7AF44 #44B776 #444CB7 #B74486
square
#B7AF44 #44B776 #444CB7 #B74486
split-complementary
#B7AF44 #4486B7 #7644B7
monochromatic
#5E5A23 #8A8433 #B7AF44 #C9C36F #DAD69B

Accessibility & contrast

On white

2.28
#B7AF44 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#B7AF44 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AF44
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AF44#FFFFFF#000000##000000
##B7AF441.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA937
Deuteranopia (green-blind)
#C0AE4A
Tritanopia (blue-blind)
#C4A498
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b7af44;
/* rgb */ color: rgb(183, 175, 68);
/* oklch */ color: oklch(74.0% 0.128 105.0);
Tailwind
colors: {
  custom: {
    50: '#cfc67d',
    500: '#b7af44',
    950: '#000000',
  },
}
SCSS
$custom: #b7af44;
$custom-light: #cfc67d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7af44",
  "rgb": {
    "r": 183,
    "g": 175,
    "b": 68
  },
  "hsl": {
    "h": 55.826,
    "s": 45.817,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74018,
    "c": 0.12773,
    "h": 105
  },
  "luminance": 0.41145
}

Semantic roles & 50–950 ramp

primary
#B7AF44
secondary
#9194C6
accent
#5BD552
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B7AF44

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

Preview Lab → · Contrast checker → · Palette generator →

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