#A5A645#A5A645

#A5A645 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.120 H 109.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#A5A645
RGBrgb(165, 166, 69)
HSLhsl(61, 41%, 46%)
HSVhsv(61, 58%, 65%)
CMYKcmyk(0.6%, 0%, 58.4%, 34.9%)
CIE-LABlab(66.29, -13.41, 48.94)
CIE-LCHlch(66.29, 50.74, 105.33°)
OKLaboklab(70.48% -0.0403 0.1128)
OKLCHoklch(70.48% 0.12 109.7)
XYZxyz(30.2283, 35.7022, 10.9279)
Luminance0.3570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A645 #4645A6
analogous
#A67645 #A5A645 #74A645
triadic
#A5A645 #45A5A6 #A645A5
tetradic
#A5A645 #45A676 #4645A6 #A64574
square
#A5A645 #45A676 #4645A6 #A64574
split-complementary
#A5A645 #4574A6 #7645A6
monochromatic
#4F5021 #7A7B33 #A5A645 #BFC068 #D2D293

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A645#FFFFFF#000000##000000
##A5A6451.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)
#B29F3A
Deuteranopia (green-blind)
#B3A34B
Tritanopia (blue-blind)
#B09C91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a645;
/* rgb */ color: rgb(165, 166, 69);
/* oklch */ color: oklch(70.5% 0.120 109.7);
Tailwind
colors: {
  custom: {
    50: '#c2c07c',
    500: '#a5a645',
    950: '#000000',
  },
}
SCSS
$custom: #a5a645;
$custom-light: #c2c07c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a645",
  "rgb": {
    "r": 165,
    "g": 166,
    "b": 69
  },
  "hsl": {
    "h": 60.619,
    "s": 41.277,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70477,
    "c": 0.11981,
    "h": 109.7
  },
  "luminance": 0.35701
}

Semantic roles & 50–950 ramp

primary
#A5A645
secondary
#8989BE
accent
#57D158
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A5A645

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

Preview Lab → · Contrast checker → · Palette generator →

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