#AAB742#AAB742

#AAB742 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.7% C 0.141 H 115.3°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#AAB742
RGBrgb(170, 183, 66)
HSLhsl(67, 47%, 49%)
HSVhsv(67, 64%, 72%)
CMYKcmyk(7.1%, 0%, 63.9%, 28.2%)
CIE-LABlab(71.42, -20.18, 55.92)
CIE-LCHlch(71.42, 59.45, 109.84°)
OKLaboklab(74.67% -0.06 0.1271)
OKLCHoklch(74.67% 0.141 115.3)
XYZxyz(34.4952, 42.8069, 11.5986)
Luminance0.4281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB742 #4F42B7
analogous
#B78A42 #AAB742 #70B742
triadic
#AAB742 #42AAB7 #B742AA
tetradic
#AAB742 #42B78A #4F42B7 #B74270
square
#AAB742 #42B78A #4F42B7 #B74270
split-complementary
#AAB742 #4270B7 #8A42B7
monochromatic
#565D22 #808A32 #AAB742 #C0CA6C #D3DA99

Accessibility & contrast

On white

2.20
#AAB742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#AAB742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB742
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB742#FFFFFF#000000##000000
##AAB7421.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE33
Deuteranopia (green-blind)
#C3B04A
Tritanopia (blue-blind)
#B4AD9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #aab742;
/* rgb */ color: rgb(170, 183, 66);
/* oklch */ color: oklch(74.7% 0.141 115.3);
Tailwind
colors: {
  custom: {
    50: '#c6cc7c',
    500: '#aab742',
    950: '#000000',
  },
}
SCSS
$custom: #aab742;
$custom-light: #c6cc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#aab742",
  "rgb": {
    "r": 170,
    "g": 183,
    "b": 66
  },
  "hsl": {
    "h": 66.667,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74671,
    "c": 0.14055,
    "h": 115.3
  },
  "luminance": 0.42806
}

Semantic roles & 50–950 ramp

primary
#AAB742
secondary
#958FC6
accent
#51D760
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAB742

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

Preview Lab → · Contrast checker → · Palette generator →

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