#A8A245#A8A245

#A8A245 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 69.9% C 0.115 H 105.6°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#A8A245
RGBrgb(168, 162, 69)
HSLhsl(56, 42%, 46%)
HSVhsv(56, 59%, 66%)
CMYKcmyk(0%, 3.6%, 58.9%, 34.1%)
CIE-LABlab(65.43, -10.03, 48.05)
CIE-LCHlch(65.43, 49.09, 101.79°)
OKLaboklab(69.86% -0.0309 0.1109)
OKLCHoklch(69.86% 0.115 105.6)
XYZxyz(30.1439, 34.5961, 10.7189)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A245 #454BA8
analogous
#A87145 #A8A245 #7DA845
triadic
#A8A245 #45A8A2 #A245A8
tetradic
#A8A245 #45A871 #454BA8 #A8457D
square
#A8A245 #45A871 #454BA8 #A8457D
split-complementary
#A8A245 #457DA8 #7145A8
monochromatic
#514E21 #7D7833 #A8A245 #C1BC69 #D3CF94

Accessibility & contrast

On white

2.65
#A8A245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#A8A245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A245
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A245#FFFFFF#000000##000000
##A8A2451.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3B
Deuteranopia (green-blind)
#B1A14A
Tritanopia (blue-blind)
#B3988E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a245;
/* rgb */ color: rgb(168, 162, 69);
/* oklch */ color: oklch(69.9% 0.115 105.6);
Tailwind
colors: {
  custom: {
    50: '#c4bd7c',
    500: '#a8a245',
    950: '#000000',
  },
}
SCSS
$custom: #a8a245;
$custom-light: #c4bd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a245",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 56.364,
    "s": 41.772,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69855,
    "c": 0.11509,
    "h": 105.6
  },
  "luminance": 0.34595
}

Semantic roles & 50–950 ramp

primary
#A8A245
secondary
#8A8DBF
accent
#5ED256
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A8A245

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

Preview Lab → · Contrast checker → · Palette generator →

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