#B5AC4E#B5AC4E

#B5AC4E is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.3% C 0.116 H 103.8°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#B5AC4E
RGBrgb(181, 172, 78)
HSLhsl(55, 41%, 51%)
HSVhsv(55, 57%, 71%)
CMYKcmyk(0%, 5%, 56.9%, 29%)
CIE-LABlab(69.38, -9.02, 48.60)
CIE-LCHlch(69.38, 49.43, 100.52°)
OKLaboklab(73.3% -0.0278 0.1129)
OKLCHoklch(73.3% 0.116 103.8)
XYZxyz(35.1849, 39.8801, 13.0505)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AC4E #4E57B5
analogous
#B5784E #B5AC4E #8AB54E
triadic
#B5AC4E #4EB5AC #AC4EB5
tetradic
#B5AC4E #4EB578 #4E57B5 #B54E8A
square
#B5AC4E #4EB578 #4E57B5 #B54E8A
split-complementary
#B5AC4E #4E8AB5 #784EB5
monochromatic
#605B28 #8B843A #B5AC4E #C7C079 #D9D4A4

Accessibility & contrast

On white

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

On black

8.98
#B5AC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AC4E
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AC4E#FFFFFF#000000##000000
##B5AC4E1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5ac4e;
/* rgb */ color: rgb(181, 172, 78);
/* oklch */ color: oklch(73.3% 0.116 103.8);
Tailwind
colors: {
  custom: {
    50: '#cdc483',
    500: '#b5ac4e',
    950: '#000000',
  },
}
SCSS
$custom: #b5ac4e;
$custom-light: #cdc483;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ac4e",
  "rgb": {
    "r": 181,
    "g": 172,
    "b": 78
  },
  "hsl": {
    "h": 54.757,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.73296,
    "c": 0.11626,
    "h": 103.8
  },
  "luminance": 0.39879
}

Semantic roles & 50–950 ramp

primary
#B5AC4E
secondary
#999DC6
accent
#62D157
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B5AC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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