#A8A145#A8A145

#A8A145 is a light, moderate yellow. Relative luminance 0.342; OKLCH L 69.6% C 0.114 H 104.9°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#A8A145
RGBrgb(168, 161, 69)
HSLhsl(56, 42%, 46%)
HSVhsv(56, 59%, 66%)
CMYKcmyk(0%, 4.2%, 58.9%, 34.1%)
CIE-LABlab(65.16, -9.50, 47.75)
CIE-LCHlch(65.16, 48.68, 101.25°)
OKLaboklab(69.64% -0.0294 0.1102)
OKLCHoklch(69.64% 0.114 104.9)
XYZxyz(29.9685, 34.2452, 10.6604)
Luminance0.3424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A145 #454CA8
analogous
#A87045 #A8A145 #7EA845
triadic
#A8A145 #45A8A1 #A145A8
tetradic
#A8A145 #45A870 #454CA8 #A8457E
square
#A8A145 #45A870 #454CA8 #A8457E
split-complementary
#A8A145 #457EA8 #7045A8
monochromatic
#514E21 #7D7733 #A8A145 #C1BB69 #D3CF94

Accessibility & contrast

On white

2.68
#A8A145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#A8A145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A145
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A145#FFFFFF#000000##000000
##A8A1451.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3B
Deuteranopia (green-blind)
#B1A04A
Tritanopia (blue-blind)
#B4978D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a145;
/* rgb */ color: rgb(168, 161, 69);
/* oklch */ color: oklch(69.6% 0.114 104.9);
Tailwind
colors: {
  custom: {
    50: '#c4bc7c',
    500: '#a8a145',
    950: '#000000',
  },
}
SCSS
$custom: #a8a145;
$custom-light: #c4bc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a145",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 69
  },
  "hsl": {
    "h": 55.758,
    "s": 41.772,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69635,
    "c": 0.11406,
    "h": 104.9
  },
  "luminance": 0.34244
}

Semantic roles & 50–950 ramp

primary
#A8A145
secondary
#8A8EBF
accent
#5FD256
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A8A145

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

Preview Lab → · Contrast checker → · Palette generator →

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