#AAB738#AAB738

#AAB738 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.6% C 0.148 H 115.1°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#AAB738
RGBrgb(170, 183, 56)
HSLhsl(66, 53%, 47%)
HSVhsv(66, 69%, 72%)
CMYKcmyk(7.1%, 0%, 69.4%, 28.2%)
CIE-LABlab(71.35, -20.79, 59.83)
CIE-LCHlch(71.35, 63.34, 109.16°)
OKLaboklab(74.59% -0.0627 0.1338)
OKLCHoklch(74.59% 0.148 115.1)
XYZxyz(34.2257, 42.6991, 10.1794)
Luminance0.4270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB738 #4538B7
analogous
#B78538 #AAB738 #6BB738
triadic
#AAB738 #38AAB7 #B738AA
tetradic
#AAB738 #38B785 #4538B7 #B7386B
square
#AAB738 #38B785 #4538B7 #B7386B
split-complementary
#AAB738 #386BB7 #8538B7
monochromatic
#53591B #7E882A #AAB738 #C2CE5E #D4DC8D

Accessibility & contrast

On white

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

On black

9.54
#AAB738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB738
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB738#FFFFFF#000000##000000
##AAB7381.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE24
Deuteranopia (green-blind)
#C3B042
Tritanopia (blue-blind)
#B5AC9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #aab738;
/* rgb */ color: rgb(170, 183, 56);
/* oklch */ color: oklch(74.6% 0.148 115.1);
Tailwind
colors: {
  custom: {
    50: '#c6cc76',
    500: '#aab738',
    950: '#000000',
  },
}
SCSS
$custom: #aab738;
$custom-light: #c6cc76;
$custom-dark: #000000;
JSON
{
  "hex": "#aab738",
  "rgb": {
    "r": 170,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 66.142,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74588,
    "c": 0.14775,
    "h": 115.1
  },
  "luminance": 0.42699
}

Semantic roles & 50–950 ramp

primary
#AAB738
secondary
#8B84C7
accent
#4BDD5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAB738

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

Preview Lab → · Contrast checker → · Palette generator →

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