#A2AE38#A2AE38

#A2AE38 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 71.9% C 0.140 H 115.0°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#A2AE38
RGBrgb(162, 174, 56)
HSLhsl(66, 51%, 45%)
HSVhsv(66, 68%, 68%)
CMYKcmyk(6.9%, 0%, 67.8%, 31.8%)
CIE-LABlab(68.20, -19.67, 56.46)
CIE-LCHlch(68.20, 59.78, 109.21°)
OKLaboklab(71.91% -0.0591 0.1269)
OKLCHoklch(71.91% 0.14 115)
XYZxyz(30.7509, 38.2395, 9.5017)
Luminance0.3824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AE38 #4438AE
analogous
#AE7F38 #A2AE38 #67AE38
triadic
#A2AE38 #38A2AE #AE38A2
tetradic
#A2AE38 #38AE7F #4438AE #AE3867
square
#A2AE38 #38AE7F #4438AE #AE3867
split-complementary
#A2AE38 #3867AE #7F38AE
monochromatic
#4C511A #778029 #A2AE38 #BECA59 #D0D988

Accessibility & contrast

On white

2.43
#A2AE38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#A2AE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AE38
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AE38#FFFFFF#000000##000000
##A2AE381.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA527
Deuteranopia (green-blind)
#B9A741
Tritanopia (blue-blind)
#ACA496
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a2ae38;
/* rgb */ color: rgb(162, 174, 56);
/* oklch */ color: oklch(71.9% 0.140 115.0);
Tailwind
colors: {
  custom: {
    50: '#c0c675',
    500: '#a2ae38',
    950: '#000000',
  },
}
SCSS
$custom: #a2ae38;
$custom-light: #c0c675;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ae38",
  "rgb": {
    "r": 162,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 66.102,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71907,
    "c": 0.13999,
    "h": 115
  },
  "luminance": 0.38239
}

Semantic roles & 50–950 ramp

primary
#A2AE38
secondary
#867FC3
accent
#4DDB5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2AE38

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

Preview Lab → · Contrast checker → · Palette generator →

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