#B7AE4E#B7AE4E

#B7AE4E is a light, moderate yellow. Relative luminance 0.409; OKLCH L 73.9% C 0.118 H 104.0°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#B7AE4E
RGBrgb(183, 174, 78)
HSLhsl(55, 42%, 51%)
HSVhsv(55, 57%, 72%)
CMYKcmyk(0%, 4.9%, 57.4%, 28.2%)
CIE-LABlab(70.10, -9.22, 49.46)
CIE-LCHlch(70.10, 50.31, 100.56°)
OKLaboklab(73.91% -0.0285 0.1147)
OKLCHoklch(73.91% 0.118 104)
XYZxyz(36.0408, 40.8907, 13.2005)
Luminance0.4089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE4E #4E57B7
analogous
#B7794E #B7AE4E #8BB74E
triadic
#B7AE4E #4EB7AE #AE4EB7
tetradic
#B7AE4E #4EB779 #4E57B7 #B74E8B
square
#B7AE4E #4EB779 #4E57B7 #B74E8B
split-complementary
#B7AE4E #4E8BB7 #794EB7
monochromatic
#635E28 #8E873A #B7AE4E #C9C27A #DAD6A5

Accessibility & contrast

On white

2.29
#B7AE4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#B7AE4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AE4E
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AE4E#FFFFFF#000000##000000
##B7AE4E1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7ae4e;
/* rgb */ color: rgb(183, 174, 78);
/* oklch */ color: oklch(73.9% 0.118 104.0);
Tailwind
colors: {
  custom: {
    50: '#cfc583',
    500: '#b7ae4e',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae4e;
$custom-light: #cfc583;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae4e",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 78
  },
  "hsl": {
    "h": 54.857,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73906,
    "c": 0.11817,
    "h": 104
  },
  "luminance": 0.40889
}

Semantic roles & 50–950 ramp

primary
#B7AE4E
secondary
#999DC8
accent
#60D256
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B7AE4E

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

Preview Lab → · Contrast checker → · Palette generator →

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