#AAAA4E#AAAA4E

#AAAA4E is a light, moderate yellow. Relative luminance 0.378; OKLCH L 71.9% C 0.115 H 109.0°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#AAAA4E
RGBrgb(170, 170, 78)
HSLhsl(60, 37%, 49%)
HSVhsv(60, 54%, 67%)
CMYKcmyk(0%, 0%, 54.1%, 33.3%)
CIE-LABlab(67.91, -12.65, 46.67)
CIE-LCHlch(67.91, 48.36, 105.16°)
OKLaboklab(71.9% -0.0375 0.109)
OKLCHoklch(71.9% 0.115 109)
XYZxyz(32.3283, 37.8464, 12.8084)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAA4E #4E4EAA
analogous
#AA7C4E #AAAA4E #7CAA4E
triadic
#AAAA4E #4EAAAA #AA4EAA
tetradic
#AAAA4E #4EAA7C #4E4EAA #AA4E7C
square
#AAAA4E #4EAA7C #4E4EAA #AA4E7C
split-complementary
#AAAA4E #4E7CAA #7C4EAA
monochromatic
#565628 #80803B #AAAA4E #C0C075 #D3D39F

Accessibility & contrast

On white

2.45
#AAAA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#AAAA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAA4E
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAA4E#FFFFFF#000000##000000
##AAAA4E1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A445
Deuteranopia (green-blind)
#B7A753
Tritanopia (blue-blind)
#B5A096
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaaa4e;
/* rgb */ color: rgb(170, 170, 78);
/* oklch */ color: oklch(71.9% 0.115 109.0);
Tailwind
colors: {
  custom: {
    50: '#c5c382',
    500: '#aaaa4e',
    950: '#000000',
  },
}
SCSS
$custom: #aaaa4e;
$custom-light: #c5c382;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaa4e",
  "rgb": {
    "r": 170,
    "g": 170,
    "b": 78
  },
  "hsl": {
    "h": 60,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71895,
    "c": 0.11521,
    "h": 109
  },
  "luminance": 0.37846
}

Semantic roles & 50–950 ramp

primary
#AAAA4E
secondary
#9494C0
accent
#5BCD5B
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AAAA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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