#A8A150#A8A150

#A8A150 is a light, moderate yellow. Relative luminance 0.344; OKLCH L 69.8% C 0.104 H 104.3°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#A8A150
RGBrgb(168, 161, 80)
HSLhsl(55, 35%, 49%)
HSVhsv(55, 52%, 66%)
CMYKcmyk(0%, 4.2%, 52.4%, 34.1%)
CIE-LABlab(65.27, -8.60, 42.59)
CIE-LCHlch(65.27, 43.45, 101.42°)
OKLaboklab(69.77% -0.0256 0.1004)
OKLCHoklch(69.77% 0.104 104.3)
XYZxyz(30.3421, 34.3947, 12.6284)
Luminance0.3439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A150 #5057A8
analogous
#A87550 #A8A150 #83A850
triadic
#A8A150 #50A8A1 #A150A8
tetradic
#A8A150 #50A875 #5057A8 #A85083
square
#A8A150 #50A875 #5057A8 #A85083
split-complementary
#A8A150 #5083A8 #7550A8
monochromatic
#555229 #7F793C #A8A150 #BEB977 #D2CEA0

Accessibility & contrast

On white

2.67
#A8A150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#A8A150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A150
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A150#FFFFFF#000000##000000
##A8A1501.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C49
Deuteranopia (green-blind)
#B0A054
Tritanopia (blue-blind)
#B3988F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a150;
/* rgb */ color: rgb(168, 161, 80);
/* oklch */ color: oklch(69.8% 0.104 104.3);
Tailwind
colors: {
  custom: {
    50: '#c4bc83',
    500: '#a8a150',
    950: '#000000',
  },
}
SCSS
$custom: #a8a150;
$custom-light: #c4bc83;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a150",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 80
  },
  "hsl": {
    "h": 55.227,
    "s": 35.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69767,
    "c": 0.10358,
    "h": 104.3
  },
  "luminance": 0.34394
}

Semantic roles & 50–950 ramp

primary
#A8A150
secondary
#9598BF
accent
#65CC5C
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A150

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

Preview Lab → · Contrast checker → · Palette generator →

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