#AAA738#AAA738

#AAA738 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.0% C 0.131 H 107.8°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#AAA738
RGBrgb(170, 167, 56)
HSLhsl(58, 50%, 44%)
HSVhsv(58, 67%, 67%)
CMYKcmyk(0%, 1.8%, 67.1%, 33.3%)
CIE-LABlab(66.88, -12.65, 55.32)
CIE-LCHlch(66.88, 56.74, 102.88°)
OKLaboklab(71.01% -0.0399 0.1243)
OKLCHoklch(71.01% 0.131 107.8)
XYZxyz(31.1112, 36.4700, 9.1412)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA738 #383BAA
analogous
#AA6E38 #AAA738 #74AA38
triadic
#AAA738 #38AAA7 #A738AA
tetradic
#AAA738 #38AA6E #383BAA #AA3874
square
#AAA738 #38AA6E #383BAA #AA3874
split-complementary
#AAA738 #3874AA #6E38AA
monochromatic
#4E4D1A #7C7A29 #AAA738 #C8C557 #D7D585

Accessibility & contrast

On white

2.53
#AAA738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#AAA738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA738
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA738#FFFFFF#000000##000000
##AAA7381.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A028
Deuteranopia (green-blind)
#B7A53F
Tritanopia (blue-blind)
#B69C91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa738;
/* rgb */ color: rgb(170, 167, 56);
/* oklch */ color: oklch(71.0% 0.131 107.8);
Tailwind
colors: {
  custom: {
    50: '#c6c075',
    500: '#aaa738',
    950: '#000000',
  },
}
SCSS
$custom: #aaa738;
$custom-light: #c6c075;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa738",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 56
  },
  "hsl": {
    "h": 58.421,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71011,
    "c": 0.13052,
    "h": 107.8
  },
  "luminance": 0.36469
}

Semantic roles & 50–950 ramp

primary
#AAA738
secondary
#7D7FC1
accent
#52DA4E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA738

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

Preview Lab → · Contrast checker → · Palette generator →

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