#B3AF46#B3AF46

#B3AF46 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.7% C 0.127 H 107.1°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#B3AF46
RGBrgb(179, 175, 70)
HSLhsl(58, 44%, 49%)
HSVhsv(58, 61%, 70%)
CMYKcmyk(0%, 2.2%, 60.9%, 29.8%)
CIE-LABlab(69.96, -12.03, 52.84)
CIE-LCHlch(69.96, 54.19, 102.82°)
OKLaboklab(73.69% -0.0371 0.1209)
OKLCHoklch(73.69% 0.127 107.1)
XYZxyz(35.0270, 40.6869, 11.8014)
Luminance0.4069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AF46 #464AB3
analogous
#B37946 #B3AF46 #81B346
triadic
#B3AF46 #46B3AF #AF46B3
tetradic
#B3AF46 #46B379 #464AB3 #B34681
square
#B3AF46 #46B379 #464AB3 #B34681
split-complementary
#B3AF46 #4681B3 #7946B3
monochromatic
#5B5924 #878435 #B3AF46 #C7C46F #D8D69B

Accessibility & contrast

On white

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

On black

9.14
#B3AF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AF46
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AF46#FFFFFF#000000##000000
##B3AF461.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93A
Deuteranopia (green-blind)
#BFAD4C
Tritanopia (blue-blind)
#BFA499
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b3af46;
/* rgb */ color: rgb(179, 175, 70);
/* oklch */ color: oklch(73.7% 0.127 107.1);
Tailwind
colors: {
  custom: {
    50: '#ccc67e',
    500: '#b3af46',
    950: '#000000',
  },
}
SCSS
$custom: #b3af46;
$custom-light: #ccc67e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3af46",
  "rgb": {
    "r": 179,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 57.798,
    "s": 43.775,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73685,
    "c": 0.12651,
    "h": 107.1
  },
  "luminance": 0.40686
}

Semantic roles & 50–950 ramp

primary
#B3AF46
secondary
#9092C4
accent
#59D454
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B3AF46

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

Preview Lab → · Contrast checker → · Palette generator →

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