#AAB238#AAB238

#AAB238 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.5% C 0.142 H 113.1°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#AAB238
RGBrgb(170, 178, 56)
HSLhsl(64, 52%, 46%)
HSVhsv(64, 69%, 70%)
CMYKcmyk(4.5%, 0%, 68.5%, 30.2%)
CIE-LABlab(69.95, -18.28, 58.43)
CIE-LCHlch(69.95, 61.22, 107.38°)
OKLaboklab(73.46% -0.0557 0.1308)
OKLCHoklch(73.46% 0.142 113.1)
XYZxyz(33.2127, 40.6731, 9.8417)
Luminance0.4067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB238 #4038B2
analogous
#B27D38 #AAB238 #6DB238
triadic
#AAB238 #38AAB2 #B238AA
tetradic
#AAB238 #38B27D #4038B2 #B2386D
square
#AAB238 #38B27D #4038B2 #B2386D
split-complementary
#AAB238 #386DB2 #7D38B2
monochromatic
#51551B #7E8329 #AAB238 #C4CC5C #D5DA8A

Accessibility & contrast

On white

2.30
#AAB238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#AAB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB238
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB238#FFFFFF#000000##000000
##AAB2381.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA25
Deuteranopia (green-blind)
#BFAC41
Tritanopia (blue-blind)
#B5A79A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aab238;
/* rgb */ color: rgb(170, 178, 56);
/* oklch */ color: oklch(73.5% 0.142 113.1);
Tailwind
colors: {
  custom: {
    50: '#c6c876',
    500: '#aab238',
    950: '#000000',
  },
}
SCSS
$custom: #aab238;
$custom-light: #c6c876;
$custom-dark: #000000;
JSON
{
  "hex": "#aab238",
  "rgb": {
    "r": 170,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 63.934,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73463,
    "c": 0.1422,
    "h": 113.1
  },
  "luminance": 0.40672
}

Semantic roles & 50–950 ramp

primary
#AAB238
secondary
#8681C5
accent
#4CDC56
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAB238

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

Preview Lab → · Contrast checker → · Palette generator →

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