#B1AF4E#B1AF4E

#B1AF4E is a light, moderate yellow. Relative luminance 0.406; OKLCH L 73.6% C 0.120 H 107.9°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#B1AF4E
RGBrgb(177, 175, 78)
HSLhsl(59, 39%, 50%)
HSVhsv(59, 56%, 69%)
CMYKcmyk(0%, 1.1%, 55.9%, 30.6%)
CIE-LABlab(69.87, -12.28, 49.06)
CIE-LCHlch(69.87, 50.57, 104.05°)
OKLaboklab(73.6% -0.0368 0.1139)
OKLCHoklch(73.6% 0.12 107.9)
XYZxyz(34.8376, 40.5581, 13.1996)
Luminance0.4056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AF4E #4E50B1
analogous
#B17E4E #B1AF4E #81B14E
triadic
#B1AF4E #4EB1AF #AF4EB1
tetradic
#B1AF4E #4EB17E #4E50B1 #B14E81
square
#B1AF4E #4EB17E #4E50B1 #B14E81
split-complementary
#B1AF4E #4E81B1 #7E4EB1
monochromatic
#5C5B29 #87853B #B1AF4E #C4C278 #D6D5A3

Accessibility & contrast

On white

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

On black

9.11
#B1AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AF4E
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AF4E#FFFFFF#000000##000000
##B1AF4E1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA944
Deuteranopia (green-blind)
#BEAC53
Tritanopia (blue-blind)
#BCA59A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b1af4e;
/* rgb */ color: rgb(177, 175, 78);
/* oklch */ color: oklch(73.6% 0.120 107.9);
Tailwind
colors: {
  custom: {
    50: '#cbc683',
    500: '#b1af4e',
    950: '#000000',
  },
}
SCSS
$custom: #b1af4e;
$custom-light: #cbc683;
$custom-dark: #000000;
JSON
{
  "hex": "#b1af4e",
  "rgb": {
    "r": 177,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 58.788,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.73597,
    "c": 0.11975,
    "h": 107.9
  },
  "luminance": 0.40557
}

Semantic roles & 50–950 ramp

primary
#B1AF4E
secondary
#9798C4
accent
#5BCF59
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B1AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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