#AAB258#AAB258

#AAB258 is a light, moderate yellow. Relative luminance 0.411; OKLCH L 73.8% C 0.115 H 113.4°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#AAB258
RGBrgb(170, 178, 88)
HSLhsl(65, 37%, 52%)
HSVhsv(65, 51%, 70%)
CMYKcmyk(4.5%, 0%, 50.6%, 30.2%)
CIE-LABlab(70.24, -15.89, 44.58)
CIE-LCHlch(70.24, 47.33, 109.61°)
OKLaboklab(73.79% -0.0456 0.1054)
OKLCHoklch(73.79% 0.115 113.4)
XYZxyz(34.2600, 41.0920, 15.3574)
Luminance0.4109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB258 #6058B2
analogous
#B28D58 #AAB258 #7DB258
triadic
#AAB258 #58AAB2 #B258AA
tetradic
#AAB258 #58B28D #6058B2 #B2587D
square
#AAB258 #58B28D #6058B2 #B2587D
split-complementary
#AAB258 #587DB2 #8D58B2
monochromatic
#5E622D #858C41 #AAB258 #BFC582 #D5D9AC

Accessibility & contrast

On white

2.28
#AAB258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#AAB258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB258
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB258#FFFFFF#000000##000000
##AAB2581.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAB50
Deuteranopia (green-blind)
#BDAD5D
Tritanopia (blue-blind)
#B3A99D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aab258;
/* rgb */ color: rgb(170, 178, 88);
/* oklch */ color: oklch(73.8% 0.115 113.4);
Tailwind
colors: {
  custom: {
    50: '#c5c889',
    500: '#aab258',
    950: '#000000',
  },
}
SCSS
$custom: #aab258;
$custom-light: #c5c889;
$custom-dark: #000000;
JSON
{
  "hex": "#aab258",
  "rgb": {
    "r": 170,
    "g": 178,
    "b": 88
  },
  "hsl": {
    "h": 65.333,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73793,
    "c": 0.11487,
    "h": 113.4
  },
  "luminance": 0.41091
}

Semantic roles & 50–950 ramp

primary
#AAB258
secondary
#A39FC7
accent
#5BCD65
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AAB258

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

Preview Lab → · Contrast checker → · Palette generator →

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