#A8A143#A8A143

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

Color values

HEX#A8A143
RGBrgb(168, 161, 67)
HSLhsl(56, 43%, 46%)
HSVhsv(56, 60%, 66%)
CMYKcmyk(0%, 4.2%, 60.1%, 34.1%)
CIE-LABlab(65.14, -9.65, 48.65)
CIE-LCHlch(65.14, 49.60, 101.22°)
OKLaboklab(69.61% -0.03 0.1119)
OKLCHoklch(69.61% 0.116 105)
XYZxyz(29.9074, 34.2208, 10.3390)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A143 #434AA8
analogous
#A86E43 #A8A143 #7CA843
triadic
#A8A143 #43A8A1 #A143A8
tetradic
#A8A143 #43A86E #434AA8 #A8437C
square
#A8A143 #43A86E #434AA8 #A8437C
split-complementary
#A8A143 #437CA8 #6E43A8
monochromatic
#504D20 #7C7732 #A8A143 #C2BC66 #D3CF92

Accessibility & contrast

On white

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

On black

7.84
#A8A143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A143
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A143#FFFFFF#000000##000000
##A8A1431.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a143;
/* rgb */ color: rgb(168, 161, 67);
/* oklch */ color: oklch(69.6% 0.116 105.0);
Tailwind
colors: {
  custom: {
    50: '#c4bc7b',
    500: '#a8a143',
    950: '#000000',
  },
}
SCSS
$custom: #a8a143;
$custom-light: #c4bc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a143",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 67
  },
  "hsl": {
    "h": 55.842,
    "s": 42.979,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69613,
    "c": 0.11584,
    "h": 105
  },
  "luminance": 0.3422
}

Semantic roles & 50–950 ramp

primary
#A8A143
secondary
#888CBF
accent
#5ED355
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A143

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

Preview Lab → · Contrast checker → · Palette generator →

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