#A2A740#A2A740

#A2A740 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.4% C 0.126 H 111.8°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#A2A740
RGBrgb(162, 167, 64)
HSLhsl(63, 45%, 45%)
HSVhsv(63, 62%, 65%)
CMYKcmyk(3%, 0%, 61.7%, 34.5%)
CIE-LABlab(66.28, -15.58, 51.10)
CIE-LCHlch(66.28, 53.42, 106.95°)
OKLaboklab(70.4% -0.0468 0.1168)
OKLCHoklch(70.4% 0.126 111.8)
XYZxyz(29.6452, 35.6896, 10.1766)
Luminance0.3569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A740 #4540A7
analogous
#A77940 #A2A740 #6EA740
triadic
#A2A740 #40A2A7 #A740A2
tetradic
#A2A740 #40A779 #4540A7 #A7406E
square
#A2A740 #40A779 #4540A7 #A7406E
split-complementary
#A2A740 #406EA7 #7940A7
monochromatic
#4C4F1E #777B2F #A2A740 #BEC362 #D0D48E

Accessibility & contrast

On white

2.58
#A2A740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#A2A740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A740
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A740#FFFFFF#000000##000000
##A2A7401.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A034
Deuteranopia (green-blind)
#B4A246
Tritanopia (blue-blind)
#AC9D91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a740;
/* rgb */ color: rgb(162, 167, 64);
/* oklch */ color: oklch(70.4% 0.126 111.8);
Tailwind
colors: {
  custom: {
    50: '#c0c179',
    500: '#a2a740',
    950: '#000000',
  },
}
SCSS
$custom: #a2a740;
$custom-light: #c0c179;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a740",
  "rgb": {
    "r": 162,
    "g": 167,
    "b": 64
  },
  "hsl": {
    "h": 62.913,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70395,
    "c": 0.12584,
    "h": 111.8
  },
  "luminance": 0.35689
}

Semantic roles & 50–950 ramp

primary
#A2A740
secondary
#8784BF
accent
#54D45A
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A2A740

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

Preview Lab → · Contrast checker → · Palette generator →

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