#AAA742#AAA742

#AAA742 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.1% C 0.123 H 107.5°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#AAA742
RGBrgb(170, 167, 66)
HSLhsl(58, 44%, 46%)
HSVhsv(58, 61%, 67%)
CMYKcmyk(0%, 1.8%, 61.2%, 33.3%)
CIE-LABlab(66.96, -12.01, 51.14)
CIE-LCHlch(66.96, 52.53, 103.21°)
OKLaboklab(71.1% -0.037 0.117)
OKLCHoklch(71.1% 0.123 107.5)
XYZxyz(31.3807, 36.5778, 10.5604)
Luminance0.3658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA742 #4245AA
analogous
#AA7342 #AAA742 #79AA42
triadic
#AAA742 #42AAA7 #A742AA
tetradic
#AAA742 #42AA73 #4245AA #AA4279
square
#AAA742 #42AA73 #4245AA #AA4279
split-complementary
#AAA742 #4279AA #7342AA
monochromatic
#525020 #7E7C31 #AAA742 #C3C166 #D5D392

Accessibility & contrast

On white

2.53
#AAA742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#AAA742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA742
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA742#FFFFFF#000000##000000
##AAA7421.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A136
Deuteranopia (green-blind)
#B6A548
Tritanopia (blue-blind)
#B69D92
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa742;
/* rgb */ color: rgb(170, 167, 66);
/* oklch */ color: oklch(71.1% 0.123 107.5);
Tailwind
colors: {
  custom: {
    50: '#c6c07b',
    500: '#aaa742',
    950: '#000000',
  },
}
SCSS
$custom: #aaa742;
$custom-light: #c6c07b;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa742",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 66
  },
  "hsl": {
    "h": 58.269,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71102,
    "c": 0.1227,
    "h": 107.5
  },
  "luminance": 0.36577
}

Semantic roles & 50–950 ramp

primary
#AAA742
secondary
#8889C0
accent
#58D454
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AAA742

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

Preview Lab → · Contrast checker → · Palette generator →

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