#A5AA3D#A5AA3D

#A5AA3D is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.3% C 0.131 H 111.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#A5AA3D
RGBrgb(165, 170, 61)
HSLhsl(63, 47%, 45%)
HSVhsv(63, 64%, 67%)
CMYKcmyk(2.9%, 0%, 64.1%, 33.3%)
CIE-LABlab(67.34, -16.04, 53.60)
CIE-LCHlch(67.34, 55.95, 106.66°)
OKLaboklab(71.29% -0.0486 0.1216)
OKLCHoklch(71.29% 0.131 111.8)
XYZxyz(30.7349, 37.0864, 9.9533)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AA3D #423DAA
analogous
#AA783D #A5AA3D #6FAA3D
triadic
#A5AA3D #3DA5AA #AA3DA5
tetradic
#A5AA3D #3DAA78 #423DAA #AA3D6F
square
#A5AA3D #3DAA78 #423DAA #AA3D6F
split-complementary
#A5AA3D #3D6FAA #783DAA
monochromatic
#4E501D #797D2D #A5AA3D #C1C55F #D2D68C

Accessibility & contrast

On white

2.49
#A5AA3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#A5AA3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AA3D
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AA3D#FFFFFF#000000##000000
##A5AA3D1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32F
Deuteranopia (green-blind)
#B7A544
Tritanopia (blue-blind)
#B0A093
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5aa3d;
/* rgb */ color: rgb(165, 170, 61);
/* oklch */ color: oklch(71.3% 0.131 111.8);
Tailwind
colors: {
  custom: {
    50: '#c2c378',
    500: '#a5aa3d',
    950: '#000000',
  },
}
SCSS
$custom: #a5aa3d;
$custom-light: #c2c378;
$custom-dark: #000000;
JSON
{
  "hex": "#a5aa3d",
  "rgb": {
    "r": 165,
    "g": 170,
    "b": 61
  },
  "hsl": {
    "h": 62.752,
    "s": 47.186,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71293,
    "c": 0.13094,
    "h": 111.8
  },
  "luminance": 0.37086
}

Semantic roles & 50–950 ramp

primary
#A5AA3D
secondary
#8582C0
accent
#51D757
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A5AA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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