#A2A45F#A2A45F

#A2A45F is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.091 H 110.0°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#A2A45F
RGBrgb(162, 164, 95)
HSLhsl(62, 27%, 51%)
HSVhsv(62, 42%, 64%)
CMYKcmyk(1.2%, 0%, 42.1%, 35.7%)
CIE-LABlab(65.79, -11.22, 35.49)
CIE-LCHlch(65.79, 37.22, 107.54°)
OKLaboklab(70.12% -0.0312 0.0859)
OKLCHoklch(70.12% 0.091 110)
XYZxyz(30.2417, 35.0591, 15.9982)
Luminance0.3506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A45F #615FA4
analogous
#A4835F #A2A45F #7FA45F
triadic
#A2A45F #5FA2A4 #A45FA2
tetradic
#A2A45F #5FA483 #615FA4 #A45F7F
square
#A2A45F #5FA483 #615FA4 #A45F7F
split-complementary
#A2A45F #5F7FA4 #835FA4
monochromatic
#565732 #7D7E48 #A2A45F #B9BA86 #CFD0AD

Accessibility & contrast

On white

2.62
#A2A45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#A2A45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A45F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A45F#FFFFFF#000000##000000
##A2A45F1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F5A
Deuteranopia (green-blind)
#AFA162
Tritanopia (blue-blind)
#AB9C93
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a2a45f;
/* rgb */ color: rgb(162, 164, 95);
/* oklch */ color: oklch(70.1% 0.091 110.0);
Tailwind
colors: {
  custom: {
    50: '#bfbe8d',
    500: '#a2a45f',
    950: '#000000',
  },
}
SCSS
$custom: #a2a45f;
$custom-light: #bfbe8d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a45f",
  "rgb": {
    "r": 162,
    "g": 164,
    "b": 95
  },
  "hsl": {
    "h": 61.739,
    "s": 27.49,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7012,
    "c": 0.09141,
    "h": 110
  },
  "luminance": 0.35059
}

Semantic roles & 50–950 ramp

primary
#A2A45F
secondary
#A1A0BF
accent
#64C467
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A2A45F

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

Preview Lab → · Contrast checker → · Palette generator →

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