#B5AF4E#B5AF4E

#B5AF4E is a light, moderate yellow. Relative luminance 0.410; OKLCH L 73.9% C 0.119 H 105.7°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#B5AF4E
RGBrgb(181, 175, 78)
HSLhsl(57, 41%, 51%)
HSVhsv(57, 57%, 71%)
CMYKcmyk(0%, 3.3%, 56.9%, 29%)
CIE-LABlab(70.20, -10.59, 49.53)
CIE-LCHlch(70.20, 50.65, 102.07°)
OKLaboklab(73.95% -0.0323 0.1149)
OKLCHoklch(73.95% 0.119 105.7)
XYZxyz(35.7623, 41.0349, 13.2430)
Luminance0.4103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AF4E #4E54B5
analogous
#B57B4E #B5AF4E #87B54E
triadic
#B5AF4E #4EB5AF #AF4EB5
tetradic
#B5AF4E #4EB57B #4E54B5 #B54E87
square
#B5AF4E #4EB57B #4E54B5 #B54E87
split-complementary
#B5AF4E #4E87B5 #7B4EB5
monochromatic
#605D28 #8B873A #B5AF4E #C7C379 #D9D6A4

Accessibility & contrast

On white

2.28
#B5AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#B5AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AF4E
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AF4E#FFFFFF#000000##000000
##B5AF4E1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA944
Deuteranopia (green-blind)
#BFAE53
Tritanopia (blue-blind)
#C1A59A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b5af4e;
/* rgb */ color: rgb(181, 175, 78);
/* oklch */ color: oklch(73.9% 0.119 105.7);
Tailwind
colors: {
  custom: {
    50: '#cdc683',
    500: '#b5af4e',
    950: '#000000',
  },
}
SCSS
$custom: #b5af4e;
$custom-light: #cdc683;
$custom-dark: #000000;
JSON
{
  "hex": "#b5af4e",
  "rgb": {
    "r": 181,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 56.505,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.73945,
    "c": 0.11932,
    "h": 105.7
  },
  "luminance": 0.41034
}

Semantic roles & 50–950 ramp

primary
#B5AF4E
secondary
#999BC6
accent
#5ED157
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B5AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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