#AAA438#AAA438

#AAA438 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.128 H 106.2°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#AAA438
RGBrgb(170, 164, 56)
HSLhsl(57, 50%, 44%)
HSVhsv(57, 67%, 67%)
CMYKcmyk(0%, 3.5%, 67.1%, 33.3%)
CIE-LABlab(66.05, -11.08, 54.47)
CIE-LCHlch(66.05, 55.58, 101.50°)
OKLaboklab(70.35% -0.0355 0.1225)
OKLCHoklch(70.35% 0.128 106.2)
XYZxyz(30.5680, 35.3835, 8.9601)
Luminance0.3538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA438 #383EAA
analogous
#AA6B38 #AAA438 #77AA38
triadic
#AAA438 #38AAA4 #A438AA
tetradic
#AAA438 #38AA6B #383EAA #AA3877
square
#AAA438 #38AA6B #383EAA #AA3877
split-complementary
#AAA438 #3877AA #6B38AA
monochromatic
#4E4B1A #7C7829 #AAA438 #C8C257 #D7D385

Accessibility & contrast

On white

2.60
#AAA438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#AAA438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA438
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA438#FFFFFF#000000##000000
##AAA4381.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E29
Deuteranopia (green-blind)
#B4A33F
Tritanopia (blue-blind)
#B6998E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aaa438;
/* rgb */ color: rgb(170, 164, 56);
/* oklch */ color: oklch(70.3% 0.128 106.2);
Tailwind
colors: {
  custom: {
    50: '#c6be75',
    500: '#aaa438',
    950: '#000000',
  },
}
SCSS
$custom: #aaa438;
$custom-light: #c6be75;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa438",
  "rgb": {
    "r": 170,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 56.842,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70348,
    "c": 0.12751,
    "h": 106.2
  },
  "luminance": 0.35382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AAA438

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

Preview Lab → · Contrast checker → · Palette generator →

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