#AAB42F#AAB42F

#AAB42F is a light, vivid yellow. Relative luminance 0.414; OKLCH L 73.9% C 0.150 H 113.8°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#AAB42F
RGBrgb(170, 180, 47)
HSLhsl(65, 59%, 45%)
HSVhsv(65, 74%, 71%)
CMYKcmyk(5.6%, 0%, 73.9%, 29.4%)
CIE-LABlab(70.45, -19.75, 62.20)
CIE-LCHlch(70.45, 65.26, 107.62°)
OKLaboklab(73.85% -0.0606 0.1372)
OKLCHoklch(73.85% 0.15 113.8)
XYZxyz(33.4129, 41.3945, 8.9186)
Luminance0.4139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB42F #392FB4
analogous
#B47B2F #AAB42F #68B42F
triadic
#AAB42F #2FAAB4 #B42FAA
tetradic
#AAB42F #2FB47B #392FB4 #B42F68
square
#AAB42F #2FB47B #392FB4 #B42F68
split-complementary
#AAB42F #2F68B4 #7B2FB4
monochromatic
#4E5316 #7C8322 #AAB42F #C7D14F #D7DE80

Accessibility & contrast

On white

2.26
#AAB42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#AAB42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB42F
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB42F#FFFFFF#000000##000000
##AAB42F1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB13
Deuteranopia (green-blind)
#C1AE3A
Tritanopia (blue-blind)
#B5A99B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aab42f;
/* rgb */ color: rgb(170, 180, 47);
/* oklch */ color: oklch(73.9% 0.150 113.8);
Tailwind
colors: {
  custom: {
    50: '#c7ca72',
    500: '#aab42f',
    950: '#000000',
  },
}
SCSS
$custom: #aab42f;
$custom-light: #c7ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#aab42f",
  "rgb": {
    "r": 170,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 64.511,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7385,
    "c": 0.15004,
    "h": 113.8
  },
  "luminance": 0.41394
}

Semantic roles & 50–950 ramp

primary
#AAB42F
secondary
#7E78C7
accent
#46E252
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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