#AAA740#AAA740

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

Color values

HEX#AAA740
RGBrgb(170, 167, 64)
HSLhsl(58, 45%, 46%)
HSVhsv(58, 62%, 67%)
CMYKcmyk(0%, 1.8%, 62.4%, 33.3%)
CIE-LABlab(66.94, -12.14, 52.01)
CIE-LCHlch(66.94, 53.40, 103.14°)
OKLaboklab(71.08% -0.0376 0.1185)
OKLCHoklch(71.08% 0.124 107.6)
XYZxyz(31.3227, 36.5546, 10.2553)
Luminance0.3655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA740 #4043AA
analogous
#AA7240 #AAA740 #78AA40
triadic
#AAA740 #40AAA7 #A740AA
tetradic
#AAA740 #40AA72 #4043AA #AA4078
square
#AAA740 #40AA72 #4043AA #AA4078
split-complementary
#AAA740 #4078AA #7240AA
monochromatic
#51501F #7E7B2F #AAA740 #C4C163 #D5D38F

Accessibility & contrast

On white

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

On black

8.31
#AAA740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA740
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA740#FFFFFF#000000##000000
##AAA7401.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A134
Deuteranopia (green-blind)
#B6A546
Tritanopia (blue-blind)
#B69D91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa740;
/* rgb */ color: rgb(170, 167, 64);
/* oklch */ color: oklch(71.1% 0.124 107.6);
Tailwind
colors: {
  custom: {
    50: '#c6c07a',
    500: '#aaa740',
    950: '#000000',
  },
}
SCSS
$custom: #aaa740;
$custom-light: #c6c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa740",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 64
  },
  "hsl": {
    "h": 58.302,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71082,
    "c": 0.12435,
    "h": 107.6
  },
  "luminance": 0.36554
}

Semantic roles & 50–950 ramp

primary
#AAA740
secondary
#8687C0
accent
#57D553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA740

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

Preview Lab → · Contrast checker → · Palette generator →

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