#AAA246#AAA246

#AAA246 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.0% C 0.114 H 104.3°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#AAA246
RGBrgb(170, 162, 70)
HSLhsl(55, 42%, 47%)
HSVhsv(55, 59%, 67%)
CMYKcmyk(0%, 4.7%, 58.8%, 33.3%)
CIE-LABlab(65.62, -9.09, 47.84)
CIE-LCHlch(65.62, 48.70, 100.76°)
OKLaboklab(70.05% -0.0282 0.1105)
OKLCHoklch(70.05% 0.114 104.3)
XYZxyz(30.6044, 34.8300, 10.9039)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA246 #464EAA
analogous
#AA7046 #AAA246 #80AA46
triadic
#AAA246 #46AAA2 #A246AA
tetradic
#AAA246 #46AA70 #464EAA #AA4680
square
#AAA246 #46AA70 #464EAA #AA4680
split-complementary
#AAA246 #4680AA #7046AA
monochromatic
#534F22 #7F7934 #AAA246 #C2BB6B #D4CF96

Accessibility & contrast

On white

2.64
#AAA246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#AAA246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA246
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA246#FFFFFF#000000##000000
##AAA2461.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3C
Deuteranopia (green-blind)
#B2A14B
Tritanopia (blue-blind)
#B6988E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aaa246;
/* rgb */ color: rgb(170, 162, 70);
/* oklch */ color: oklch(70.0% 0.114 104.3);
Tailwind
colors: {
  custom: {
    50: '#c6bd7d',
    500: '#aaa246',
    950: '#000000',
  },
}
SCSS
$custom: #aaa246;
$custom-light: #c6bd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa246",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 70
  },
  "hsl": {
    "h": 55.2,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70045,
    "c": 0.11405,
    "h": 104.3
  },
  "luminance": 0.34829
}

Semantic roles & 50–950 ramp

primary
#AAA246
secondary
#8C90C0
accent
#60D156
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AAA246

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

Preview Lab → · Contrast checker → · Palette generator →

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