#AAA938#AAA938

#AAA938 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.5% C 0.133 H 108.8°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#AAA938
RGBrgb(170, 169, 56)
HSLhsl(59, 50%, 44%)
HSVhsv(59, 67%, 67%)
CMYKcmyk(0%, 0.6%, 67.1%, 33.3%)
CIE-LABlab(67.43, -13.68, 55.88)
CIE-LCHlch(67.43, 57.53, 103.76°)
OKLaboklab(71.45% -0.0428 0.1255)
OKLCHoklch(71.45% 0.133 108.8)
XYZxyz(31.4804, 37.2084, 9.2643)
Luminance0.3721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA938 #3839AA
analogous
#AA7038 #AAA938 #72AA38
triadic
#AAA938 #38AAA9 #A938AA
tetradic
#AAA938 #38AA70 #3839AA #AA3872
square
#AAA938 #38AA70 #3839AA #AA3872
split-complementary
#AAA938 #3872AA #7038AA
monochromatic
#4E4D1A #7C7B29 #AAA938 #C8C757 #D7D685

Accessibility & contrast

On white

2.49
#AAA938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#AAA938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA938
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA938#FFFFFF#000000##000000
##AAA9381.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A228
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#B69E92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aaa938;
/* rgb */ color: rgb(170, 169, 56);
/* oklch */ color: oklch(71.5% 0.133 108.8);
Tailwind
colors: {
  custom: {
    50: '#c6c275',
    500: '#aaa938',
    950: '#000000',
  },
}
SCSS
$custom: #aaa938;
$custom-light: #c6c275;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa938",
  "rgb": {
    "r": 170,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 59.474,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71454,
    "c": 0.13257,
    "h": 108.8
  },
  "luminance": 0.37208
}

Semantic roles & 50–950 ramp

primary
#AAA938
secondary
#7D7EC1
accent
#4FDA4E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA938

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

Preview Lab → · Contrast checker → · Palette generator →

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