#A2A438#A2A438

#A2A438 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.6% C 0.129 H 110.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#A2A438
RGBrgb(162, 164, 56)
HSLhsl(61, 49%, 43%)
HSVhsv(61, 66%, 64%)
CMYKcmyk(1.2%, 0%, 65.9%, 35.7%)
CIE-LABlab(65.37, -14.56, 53.56)
CIE-LCHlch(65.37, 55.50, 105.21°)
OKLaboklab(69.65% -0.0448 0.1208)
OKLCHoklch(69.65% 0.129 110.3)
XYZxyz(28.8905, 34.5186, 8.8815)
Luminance0.3452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A438 #3A38A4
analogous
#A47038 #A2A438 #6CA438
triadic
#A2A438 #38A2A4 #A438A2
tetradic
#A2A438 #38A470 #3A38A4 #A4386C
square
#A2A438 #38A470 #3A38A4 #A4386C
split-complementary
#A2A438 #386CA4 #7038A4
monochromatic
#484919 #757628 #A2A438 #C3C554 #D3D482

Accessibility & contrast

On white

2.66
#A2A438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#A2A438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A438
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A438#FFFFFF#000000##000000
##A2A4381.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D29
Deuteranopia (green-blind)
#B2A03F
Tritanopia (blue-blind)
#AD9A8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a2a438;
/* rgb */ color: rgb(162, 164, 56);
/* oklch */ color: oklch(69.6% 0.129 110.3);
Tailwind
colors: {
  custom: {
    50: '#c0be75',
    500: '#a2a438',
    950: '#000000',
  },
}
SCSS
$custom: #a2a438;
$custom-light: #c0be75;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a438",
  "rgb": {
    "r": 162,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 61.111,
    "s": 49.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69647,
    "c": 0.12884,
    "h": 110.3
  },
  "luminance": 0.34518
}

Semantic roles & 50–950 ramp

primary
#A2A438
secondary
#7B7ABE
accent
#4FD952
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A2A438

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

Preview Lab → · Contrast checker → · Palette generator →

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