#AEB271#AEB271

#AEB271 is a light, moderate yellow. Relative luminance 0.420; OKLCH L 74.5% C 0.086 H 111.3°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#AEB271
RGBrgb(174, 178, 113)
HSLhsl(64, 30%, 57%)
HSVhsv(64, 37%, 70%)
CMYKcmyk(2.2%, 0%, 36.5%, 30.2%)
CIE-LABlab(70.89, -11.58, 32.78)
CIE-LCHlch(70.89, 34.77, 109.46°)
OKLaboklab(74.5% -0.0314 0.0806)
OKLCHoklch(74.5% 0.086 111.3)
XYZxyz(36.3569, 42.0323, 21.8174)
Luminance0.4203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB271 #7571B2
analogous
#B29671 #AEB271 #8EB271
triadic
#AEB271 #71AEB2 #B271AE
tetradic
#AEB271 #71B296 #7571B2 #B2718E
square
#AEB271 #71B296 #7571B2 #B2718E
split-complementary
#AEB271 #718EB2 #9671B2
monochromatic
#6A6D3B #919551 #AEB271 #C5C899 #DBDDC0

Accessibility & contrast

On white

2.23
#AEB271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#AEB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB271
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB271#FFFFFF#000000##000000
##AEB2711.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAC6C
Deuteranopia (green-blind)
#BCAE74
Tritanopia (blue-blind)
#B6ABA2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aeb271;
/* rgb */ color: rgb(174, 178, 113);
/* oklch */ color: oklch(74.5% 0.086 111.3);
Tailwind
colors: {
  custom: {
    50: '#c7c99a',
    500: '#aeb271',
    950: '#000000',
  },
}
SCSS
$custom: #aeb271;
$custom-light: #c7c99a;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb271",
  "rgb": {
    "r": 174,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 63.692,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.74501,
    "c": 0.08647,
    "h": 111.3
  },
  "luminance": 0.42032
}

Semantic roles & 50–950 ramp

primary
#AEB271
secondary
#B4B2CD
accent
#62C668
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AEB271

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

Preview Lab → · Contrast checker → · Palette generator →

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