#AAA138#AAA138

#AAA138 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.7% C 0.125 H 104.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#AAA138
RGBrgb(170, 161, 56)
HSLhsl(55, 50%, 44%)
HSVhsv(55, 67%, 67%)
CMYKcmyk(0%, 5.3%, 67.1%, 33.3%)
CIE-LABlab(65.22, -9.50, 53.61)
CIE-LCHlch(65.22, 54.45, 100.05°)
OKLaboklab(69.69% -0.031 0.1207)
OKLCHoklch(69.69% 0.125 104.4)
XYZxyz(30.0374, 34.3224, 8.7833)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA138 #3841AA
analogous
#AA6838 #AAA138 #7AAA38
triadic
#AAA138 #38AAA1 #A138AA
tetradic
#AAA138 #38AA68 #3841AA #AA387A
square
#AAA138 #38AA68 #3841AA #AA387A
split-complementary
#AAA138 #387AAA #6838AA
monochromatic
#4E4A1A #7C7529 #AAA138 #C8BF57 #D7D185

Accessibility & contrast

On white

2.67
#AAA138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#AAA138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA138
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA138#FFFFFF#000000##000000
##AAA1381.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2A
Deuteranopia (green-blind)
#B2A13E
Tritanopia (blue-blind)
#B6968C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aaa138;
/* rgb */ color: rgb(170, 161, 56);
/* oklch */ color: oklch(69.7% 0.125 104.4);
Tailwind
colors: {
  custom: {
    50: '#c6bc74',
    500: '#aaa138',
    950: '#000000',
  },
}
SCSS
$custom: #aaa138;
$custom-light: #c6bc74;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa138",
  "rgb": {
    "r": 170,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 55.263,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69689,
    "c": 0.1246,
    "h": 104.4
  },
  "luminance": 0.34321
}

Semantic roles & 50–950 ramp

primary
#AAA138
secondary
#7D82C1
accent
#59DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA138

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

Preview Lab → · Contrast checker → · Palette generator →

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