#A2A745#A2A745

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

Color values

HEX#A2A745
RGBrgb(162, 167, 69)
HSLhsl(63, 42%, 46%)
HSVhsv(63, 59%, 65%)
CMYKcmyk(3%, 0%, 58.7%, 34.5%)
CIE-LABlab(66.33, -15.21, 48.91)
CIE-LCHlch(66.33, 51.22, 107.27°)
OKLaboklab(70.45% -0.0452 0.1128)
OKLCHoklch(70.45% 0.122 111.8)
XYZxyz(29.7939, 35.7491, 10.9599)
Luminance0.3575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A745 #4A45A7
analogous
#A77B45 #A2A745 #71A745
triadic
#A2A745 #45A2A7 #A745A2
tetradic
#A2A745 #45A77B #4A45A7 #A74571
square
#A2A745 #45A77B #4A45A7 #A74571
split-complementary
#A2A745 #4571A7 #7B45A7
monochromatic
#4E5021 #787C33 #A2A745 #BCC168 #CFD394

Accessibility & contrast

On white

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

On black

8.15
#A2A745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A745
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A745#FFFFFF#000000##000000
##A2A7451.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A03A
Deuteranopia (green-blind)
#B3A34B
Tritanopia (blue-blind)
#AC9E92
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a745;
/* rgb */ color: rgb(162, 167, 69);
/* oklch */ color: oklch(70.4% 0.122 111.8);
Tailwind
colors: {
  custom: {
    50: '#c0c17d',
    500: '#a2a745',
    950: '#000000',
  },
}
SCSS
$custom: #a2a745;
$custom-light: #c0c17d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a745",
  "rgb": {
    "r": 162,
    "g": 167,
    "b": 69
  },
  "hsl": {
    "h": 63.061,
    "s": 41.525,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70446,
    "c": 0.12155,
    "h": 111.8
  },
  "luminance": 0.35748
}

Semantic roles & 50–950 ramp

primary
#A2A745
secondary
#8C89BE
accent
#56D15D
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #A2A745

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

Preview Lab → · Contrast checker → · Palette generator →

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