#B1AF70#B1AF70

#B1AF70 is a light, moderate yellow. Relative luminance 0.412; OKLCH L 74.1% C 0.084 H 106.7°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B1AF70
RGBrgb(177, 175, 112)
HSLhsl(58, 29%, 57%)
HSVhsv(58, 37%, 69%)
CMYKcmyk(0%, 1.1%, 36.7%, 30.6%)
CIE-LABlab(70.30, -8.93, 32.59)
CIE-LCHlch(70.30, 33.79, 105.32°)
OKLaboklab(74.08% -0.024 0.08)
OKLCHoklch(74.08% 0.084 106.7)
XYZxyz(36.3865, 41.1777, 21.3574)
Luminance0.4118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AF70 #7072B1
analogous
#B18F70 #B1AF70 #93B170
triadic
#B1AF70 #70B1AF #AF70B1
tetradic
#B1AF70 #70B18F #7072B1 #B17093
square
#B1AF70 #70B18F #7072B1 #B17093
split-complementary
#B1AF70 #7093B1 #8F70B1
monochromatic
#6C6A3B #939150 #B1AF70 #C7C598 #DCDBBF

Accessibility & contrast

On white

2.27
#B1AF70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#B1AF70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AF70
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AF70#FFFFFF#000000##000000
##B1AF701.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AA6B
Deuteranopia (green-blind)
#BAAD73
Tritanopia (blue-blind)
#BAA79F
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b1af70;
/* rgb */ color: rgb(177, 175, 112);
/* oklch */ color: oklch(74.1% 0.084 106.7);
Tailwind
colors: {
  custom: {
    50: '#c9c69a',
    500: '#b1af70',
    950: '#000000',
  },
}
SCSS
$custom: #b1af70;
$custom-light: #c9c69a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1af70",
  "rgb": {
    "r": 177,
    "g": 175,
    "b": 112
  },
  "hsl": {
    "h": 58.154,
    "s": 29.412,
    "l": 56.667
  },
  "oklch": {
    "l": 0.74084,
    "c": 0.08357,
    "h": 106.7
  },
  "luminance": 0.41177
}

Semantic roles & 50–950 ramp

primary
#B1AF70
secondary
#B1B2CC
accent
#65C662
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #B1AF70

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

Preview Lab → · Contrast checker → · Palette generator →

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