#B1AD4E#B1AD4E

#B1AD4E is a light, moderate yellow. Relative luminance 0.398; OKLCH L 73.2% C 0.118 H 106.8°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#B1AD4E
RGBrgb(177, 173, 78)
HSLhsl(58, 39%, 50%)
HSVhsv(58, 56%, 69%)
CMYKcmyk(0%, 2.3%, 55.9%, 30.6%)
CIE-LABlab(69.32, -11.24, 48.44)
CIE-LCHlch(69.32, 49.72, 103.07°)
OKLaboklab(73.16% -0.0339 0.1126)
OKLCHoklch(73.16% 0.118 106.8)
XYZxyz(34.4512, 39.7853, 13.0708)
Luminance0.3978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AD4E #4E52B1
analogous
#B17C4E #B1AD4E #83B14E
triadic
#B1AD4E #4EB1AD #AD4EB1
tetradic
#B1AD4E #4EB17C #4E52B1 #B14E83
square
#B1AD4E #4EB17C #4E52B1 #B14E83
split-complementary
#B1AD4E #4E83B1 #7C4EB1
monochromatic
#5C5A29 #87833B #B1AD4E #C4C178 #D6D4A3

Accessibility & contrast

On white

2.34
#B1AD4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#B1AD4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AD4E
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AD4E#FFFFFF#000000##000000
##B1AD4E1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA744
Deuteranopia (green-blind)
#BCAB53
Tritanopia (blue-blind)
#BDA398
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b1ad4e;
/* rgb */ color: rgb(177, 173, 78);
/* oklch */ color: oklch(73.2% 0.118 106.8);
Tailwind
colors: {
  custom: {
    50: '#cbc583',
    500: '#b1ad4e',
    950: '#000000',
  },
}
SCSS
$custom: #b1ad4e;
$custom-light: #cbc583;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ad4e",
  "rgb": {
    "r": 177,
    "g": 173,
    "b": 78
  },
  "hsl": {
    "h": 57.576,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.7316,
    "c": 0.1176,
    "h": 106.8
  },
  "luminance": 0.39784
}

Semantic roles & 50–950 ramp

primary
#B1AD4E
secondary
#9799C4
accent
#5ECF59
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B1AD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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