#AABB38#AABB38

#AABB38 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.5% C 0.152 H 116.6°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#AABB38
RGBrgb(170, 187, 56)
HSLhsl(68, 54%, 48%)
HSVhsv(68, 70%, 73%)
CMYKcmyk(9.1%, 0%, 70.1%, 26.7%)
CIE-LABlab(72.48, -22.77, 60.95)
CIE-LCHlch(72.48, 65.07, 110.48°)
OKLaboklab(75.49% -0.0682 0.1362)
OKLCHoklch(75.49% 0.152 116.6)
XYZxyz(35.0625, 44.3727, 10.4583)
Luminance0.4437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABB38 #4938BB
analogous
#BB8A38 #AABB38 #69BB38
triadic
#AABB38 #38AABB #BB38AA
tetradic
#AABB38 #38BB8A #4938BB #BB3869
square
#AABB38 #38BB8A #4938BB #BB3869
split-complementary
#AABB38 #3869BB #8A38BB
monochromatic
#545D1C #7F8C2A #AABB38 #C1D061 #D4DE90

Accessibility & contrast

On white

2.13
#AABB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#AABB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABB38
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABB38#FFFFFF#000000##000000
##AABB381.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B122
Deuteranopia (green-blind)
#C6B342
Tritanopia (blue-blind)
#B5B0A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #aabb38;
/* rgb */ color: rgb(170, 187, 56);
/* oklch */ color: oklch(75.5% 0.152 116.6);
Tailwind
colors: {
  custom: {
    50: '#c6cf77',
    500: '#aabb38',
    950: '#000000',
  },
}
SCSS
$custom: #aabb38;
$custom-light: #c6cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#aabb38",
  "rgb": {
    "r": 170,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 67.786,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75492,
    "c": 0.15228,
    "h": 116.6
  },
  "luminance": 0.44372
}

Semantic roles & 50–950 ramp

primary
#AABB38
secondary
#8F86C8
accent
#4BDD5E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#131309
muted
#82827B

Preview Lab

Preview with #AABB38

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

Preview Lab → · Contrast checker → · Palette generator →

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