#B3AF4A#B3AF4A

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

Color values

HEX#B3AF4A
RGBrgb(179, 175, 74)
HSLhsl(58, 42%, 50%)
HSVhsv(58, 59%, 70%)
CMYKcmyk(0%, 2.2%, 58.7%, 29.8%)
CIE-LABlab(69.99, -11.74, 51.09)
CIE-LCHlch(69.99, 52.42, 102.94°)
OKLaboklab(73.73% -0.0359 0.1178)
OKLCHoklch(73.73% 0.123 106.9)
XYZxyz(35.1575, 40.7391, 12.4887)
Luminance0.4074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AF4A #4A4EB3
analogous
#B37A4A #B3AF4A #83B34A
triadic
#B3AF4A #4AB3AF #AF4AB3
tetradic
#B3AF4A #4AB37A #4A4EB3 #B34A83
square
#B3AF4A #4AB37A #4A4EB3 #B34A83
split-complementary
#B3AF4A #4A83B3 #7A4AB3
monochromatic
#5C5A26 #888538 #B3AF4A #C6C374 #D8D6A0

Accessibility & contrast

On white

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

On black

9.15
#B3AF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AF4A
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AF4A#FFFFFF#000000##000000
##B3AF4A1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA93F
Deuteranopia (green-blind)
#BFAD50
Tritanopia (blue-blind)
#BFA599
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b3af4a;
/* rgb */ color: rgb(179, 175, 74);
/* oklch */ color: oklch(73.7% 0.123 106.9);
Tailwind
colors: {
  custom: {
    50: '#ccc680',
    500: '#b3af4a',
    950: '#000000',
  },
}
SCSS
$custom: #b3af4a;
$custom-light: #ccc680;
$custom-dark: #000000;
JSON
{
  "hex": "#b3af4a",
  "rgb": {
    "r": 179,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 57.714,
    "s": 41.502,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73726,
    "c": 0.1231,
    "h": 106.9
  },
  "luminance": 0.40738
}

Semantic roles & 50–950 ramp

primary
#B3AF4A
secondary
#9496C4
accent
#5BD156
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B3AF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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