#AAA238#AAA238

#AAA238 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.126 H 105.0°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#AAA238
RGBrgb(170, 162, 56)
HSLhsl(56, 50%, 44%)
HSVhsv(56, 67%, 67%)
CMYKcmyk(0%, 4.7%, 67.1%, 33.3%)
CIE-LABlab(65.49, -10.03, 53.90)
CIE-LCHlch(65.49, 54.82, 100.54°)
OKLaboklab(69.91% -0.0325 0.1213)
OKLCHoklch(69.91% 0.126 105)
XYZxyz(30.2129, 34.6733, 8.8418)
Luminance0.3467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA238 #3840AA
analogous
#AA6938 #AAA238 #79AA38
triadic
#AAA238 #38AAA2 #A238AA
tetradic
#AAA238 #38AA69 #3840AA #AA3879
square
#AAA238 #38AA69 #3840AA #AA3879
split-complementary
#AAA238 #3879AA #6938AA
monochromatic
#4E4A1A #7C7629 #AAA238 #C8C057 #D7D185

Accessibility & contrast

On white

2.65
#AAA238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#AAA238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA238
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA238#FFFFFF#000000##000000
##AAA2381.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C29
Deuteranopia (green-blind)
#B3A13F
Tritanopia (blue-blind)
#B6978C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aaa238;
/* rgb */ color: rgb(170, 162, 56);
/* oklch */ color: oklch(69.9% 0.126 105.0);
Tailwind
colors: {
  custom: {
    50: '#c6bd74',
    500: '#aaa238',
    950: '#000000',
  },
}
SCSS
$custom: #aaa238;
$custom-light: #c6bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa238",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 55.789,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69908,
    "c": 0.12556,
    "h": 105
  },
  "luminance": 0.34672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AAA238

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

Preview Lab → · Contrast checker → · Palette generator →

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