#AAB838#AAB838

#AAB838 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.8% C 0.149 H 115.5°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#AAB838
RGBrgb(170, 184, 56)
HSLhsl(67, 53%, 47%)
HSVhsv(67, 70%, 72%)
CMYKcmyk(7.6%, 0%, 69.6%, 27.8%)
CIE-LABlab(71.63, -21.29, 60.11)
CIE-LCHlch(71.63, 63.77, 109.50°)
OKLaboklab(74.81% -0.0641 0.1344)
OKLCHoklch(74.81% 0.149 115.5)
XYZxyz(34.4327, 43.1131, 10.2484)
Luminance0.4311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB838 #4638B8
analogous
#B88638 #AAB838 #6AB838
triadic
#AAB838 #38AAB8 #B838AA
tetradic
#AAB838 #38B886 #4638B8 #B8386A
square
#AAB838 #38B886 #4638B8 #B8386A
split-complementary
#AAB838 #386AB8 #8638B8
monochromatic
#535A1B #7F892A #AAB838 #C2CE5F #D4DD8E

Accessibility & contrast

On white

2.18
#AAB838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#AAB838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB838
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB838#FFFFFF#000000##000000
##AAB8381.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF23
Deuteranopia (green-blind)
#C4B042
Tritanopia (blue-blind)
#B5AD9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #aab838;
/* rgb */ color: rgb(170, 184, 56);
/* oklch */ color: oklch(74.8% 0.149 115.5);
Tailwind
colors: {
  custom: {
    50: '#c6cd77',
    500: '#aab838',
    950: '#000000',
  },
}
SCSS
$custom: #aab838;
$custom-light: #c6cd77;
$custom-dark: #000000;
JSON
{
  "hex": "#aab838",
  "rgb": {
    "r": 170,
    "g": 184,
    "b": 56
  },
  "hsl": {
    "h": 66.563,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74814,
    "c": 0.14888,
    "h": 115.5
  },
  "luminance": 0.43113
}

Semantic roles & 50–950 ramp

primary
#AAB838
secondary
#8C85C7
accent
#4BDD5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAB838

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

Preview Lab → · Contrast checker → · Palette generator →

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