#B7AC4E#B7AC4E

#B7AC4E is a light, moderate yellow. Relative luminance 0.401; OKLCH L 73.5% C 0.116 H 102.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#B7AC4E
RGBrgb(183, 172, 78)
HSLhsl(54, 42%, 51%)
HSVhsv(54, 57%, 72%)
CMYKcmyk(0%, 6%, 57.4%, 28.2%)
CIE-LABlab(69.56, -8.17, 48.85)
CIE-LCHlch(69.56, 49.53, 99.50°)
OKLaboklab(73.47% -0.0255 0.1134)
OKLCHoklch(73.47% 0.116 102.7)
XYZxyz(35.6573, 40.1237, 13.0726)
Luminance0.4012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AC4E #4E59B7
analogous
#B7774E #B7AC4E #8DB74E
triadic
#B7AC4E #4EB7AC #AC4EB7
tetradic
#B7AC4E #4EB777 #4E59B7 #B74E8D
square
#B7AC4E #4EB777 #4E59B7 #B74E8D
split-complementary
#B7AC4E #4E8DB7 #774EB7
monochromatic
#635C28 #8E853A #B7AC4E #C9C07A #DAD5A5

Accessibility & contrast

On white

2.33
#B7AC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#B7AC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AC4E
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AC4E#FFFFFF#000000##000000
##B7AC4E1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7ac4e;
/* rgb */ color: rgb(183, 172, 78);
/* oklch */ color: oklch(73.5% 0.116 102.7);
Tailwind
colors: {
  custom: {
    50: '#cfc483',
    500: '#b7ac4e',
    950: '#000000',
  },
}
SCSS
$custom: #b7ac4e;
$custom-light: #cfc483;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ac4e",
  "rgb": {
    "r": 183,
    "g": 172,
    "b": 78
  },
  "hsl": {
    "h": 53.714,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73475,
    "c": 0.1162,
    "h": 102.7
  },
  "luminance": 0.40122
}

Semantic roles & 50–950 ramp

primary
#B7AC4E
secondary
#999EC8
accent
#63D256
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B7AC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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