#AABF38#AABF38

#AABF38 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.4% C 0.157 H 118.0°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#AABF38
RGBrgb(170, 191, 56)
HSLhsl(69, 55%, 48%)
HSVhsv(69, 71%, 75%)
CMYKcmyk(11%, 0%, 70.7%, 25.1%)
CIE-LABlab(73.61, -24.73, 62.07)
CIE-LCHlch(73.61, 66.81, 111.72°)
OKLaboklab(76.4% -0.0736 0.1385)
OKLCHoklch(76.4% 0.157 118)
XYZxyz(35.9229, 46.0935, 10.7451)
Luminance0.4609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABF38 #4D38BF
analogous
#BF9038 #AABF38 #66BF38
triadic
#AABF38 #38AABF #BF38AA
tetradic
#AABF38 #38BF90 #4D38BF #BF3866
square
#AABF38 #38BF90 #4D38BF #BF3866
split-complementary
#AABF38 #3866BF #9038BF
monochromatic
#56601C #80902A #AABF38 #C0D163 #D3DF92

Accessibility & contrast

On white

2.06
#AABF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#AABF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABF38
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABF38#FFFFFF#000000##000000
##AABF381.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB521
Deuteranopia (green-blind)
#C9B543
Tritanopia (blue-blind)
#B4B5A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #aabf38;
/* rgb */ color: rgb(170, 191, 56);
/* oklch */ color: oklch(76.4% 0.157 118.0);
Tailwind
colors: {
  custom: {
    50: '#c7d277',
    500: '#aabf38',
    950: '#000000',
  },
}
SCSS
$custom: #aabf38;
$custom-light: #c7d277;
$custom-dark: #000000;
JSON
{
  "hex": "#aabf38",
  "rgb": {
    "r": 170,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 69.333,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.764,
    "c": 0.15686,
    "h": 118
  },
  "luminance": 0.46093
}

Semantic roles & 50–950 ramp

primary
#AABF38
secondary
#9389CA
accent
#4ADE61
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #AABF38

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

Preview Lab → · Contrast checker → · Palette generator →

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