#B1AF4A#B1AF4A

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

Color values

HEX#B1AF4A
RGBrgb(177, 175, 74)
HSLhsl(59, 41%, 49%)
HSVhsv(59, 58%, 69%)
CMYKcmyk(0%, 1.1%, 58.2%, 30.6%)
CIE-LABlab(69.83, -12.59, 50.86)
CIE-LCHlch(69.83, 52.39, 103.90°)
OKLaboklab(73.55% -0.0382 0.1173)
OKLCHoklch(73.55% 0.123 108)
XYZxyz(34.6985, 40.5025, 12.4672)
Luminance0.4050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AF4A #4A4CB1
analogous
#B17C4A #B1AF4A #80B14A
triadic
#B1AF4A #4AB1AF #AF4AB1
tetradic
#B1AF4A #4AB17C #4A4CB1 #B14A80
square
#B1AF4A #4AB17C #4A4CB1 #B14A80
split-complementary
#B1AF4A #4A80B1 #7C4AB1
monochromatic
#5B5A26 #868438 #B1AF4A #C5C374 #D7D69F

Accessibility & contrast

On white

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

On black

9.10
#B1AF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AF4A
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AF4A#FFFFFF#000000##000000
##B1AF4A1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1af4a;
/* rgb */ color: rgb(177, 175, 74);
/* oklch */ color: oklch(73.6% 0.123 108.0);
Tailwind
colors: {
  custom: {
    50: '#cbc680',
    500: '#b1af4a',
    950: '#000000',
  },
}
SCSS
$custom: #b1af4a;
$custom-light: #cbc680;
$custom-dark: #000000;
JSON
{
  "hex": "#b1af4a",
  "rgb": {
    "r": 177,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 58.835,
    "s": 41.036,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73553,
    "c": 0.12335,
    "h": 108
  },
  "luminance": 0.40501
}

Semantic roles & 50–950 ramp

primary
#B1AF4A
secondary
#9394C3
accent
#59D157
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B1AF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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