#AAA338#AAA338

#AAA338 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.1% C 0.127 H 105.6°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#AAA338
RGBrgb(170, 163, 56)
HSLhsl(56, 50%, 44%)
HSVhsv(56, 67%, 67%)
CMYKcmyk(0%, 4.1%, 67.1%, 33.3%)
CIE-LABlab(65.77, -10.56, 54.18)
CIE-LCHlch(65.77, 55.20, 101.02°)
OKLaboklab(70.13% -0.034 0.1219)
OKLCHoklch(70.13% 0.127 105.6)
XYZxyz(30.3897, 35.0270, 8.9007)
Luminance0.3503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA338 #383FAA
analogous
#AA6A38 #AAA338 #78AA38
triadic
#AAA338 #38AAA3 #A338AA
tetradic
#AAA338 #38AA6A #383FAA #AA3878
square
#AAA338 #38AA6A #383FAA #AA3878
split-complementary
#AAA338 #3878AA #6A38AA
monochromatic
#4E4B1A #7C7729 #AAA338 #C8C157 #D7D285

Accessibility & contrast

On white

2.62
#AAA338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#AAA338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA338
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA338#FFFFFF#000000##000000
##AAA3381.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D29
Deuteranopia (green-blind)
#B4A23F
Tritanopia (blue-blind)
#B6988D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aaa338;
/* rgb */ color: rgb(170, 163, 56);
/* oklch */ color: oklch(70.1% 0.127 105.6);
Tailwind
colors: {
  custom: {
    50: '#c6be75',
    500: '#aaa338',
    950: '#000000',
  },
}
SCSS
$custom: #aaa338;
$custom-light: #c6be75;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa338",
  "rgb": {
    "r": 170,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 56.316,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70128,
    "c": 0.12653,
    "h": 105.6
  },
  "luminance": 0.35026
}

Semantic roles & 50–950 ramp

primary
#AAA338
secondary
#7D81C1
accent
#56DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA338

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

Preview Lab → · Contrast checker → · Palette generator →

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