#A2AD38#A2AD38

#A2AD38 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.7% C 0.139 H 114.6°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#A2AD38
RGBrgb(162, 173, 56)
HSLhsl(66, 51%, 45%)
HSVhsv(66, 68%, 68%)
CMYKcmyk(6.4%, 0%, 67.6%, 32.2%)
CIE-LABlab(67.91, -19.16, 56.17)
CIE-LCHlch(67.91, 59.35, 108.84°)
OKLaboklab(71.68% -0.0577 0.1263)
OKLCHoklch(71.68% 0.139 114.6)
XYZxyz(30.5585, 37.8546, 9.4375)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AD38 #4338AD
analogous
#AD7E38 #A2AD38 #68AD38
triadic
#A2AD38 #38A2AD #AD38A2
tetradic
#A2AD38 #38AD7E #4338AD #AD3868
square
#A2AD38 #38AD7E #4338AD #AD3868
split-complementary
#A2AD38 #3868AD #7E38AD
monochromatic
#4B511A #777F29 #A2AD38 #BFC959 #D1D887

Accessibility & contrast

On white

2.45
#A2AD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#A2AD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AD38
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AD38#FFFFFF#000000##000000
##A2AD381.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A527
Deuteranopia (green-blind)
#B9A740
Tritanopia (blue-blind)
#ACA395
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a2ad38;
/* rgb */ color: rgb(162, 173, 56);
/* oklch */ color: oklch(71.7% 0.139 114.6);
Tailwind
colors: {
  custom: {
    50: '#c0c575',
    500: '#a2ad38',
    950: '#000000',
  },
}
SCSS
$custom: #a2ad38;
$custom-light: #c0c575;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ad38",
  "rgb": {
    "r": 162,
    "g": 173,
    "b": 56
  },
  "hsl": {
    "h": 65.641,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7168,
    "c": 0.13885,
    "h": 114.6
  },
  "luminance": 0.37854
}

Semantic roles & 50–950 ramp

primary
#A2AD38
secondary
#857FC2
accent
#4DDB5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A2AD38

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

Preview Lab → · Contrast checker → · Palette generator →

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