#A8A241#A8A241

#A8A241 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 69.8% C 0.119 H 105.7°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#A8A241
RGBrgb(168, 162, 65)
HSLhsl(57, 44%, 46%)
HSVhsv(57, 61%, 66%)
CMYKcmyk(0%, 3.6%, 61.3%, 34.1%)
CIE-LABlab(65.40, -10.32, 49.84)
CIE-LCHlch(65.40, 50.90, 101.70°)
OKLaboklab(69.81% -0.0322 0.1141)
OKLCHoklch(69.81% 0.119 105.7)
XYZxyz(30.0239, 34.5481, 10.0869)
Luminance0.3455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A241 #4147A8
analogous
#A86E41 #A8A241 #7AA841
triadic
#A8A241 #41A8A2 #A241A8
tetradic
#A8A241 #41A86E #4147A8 #A8417A
square
#A8A241 #41A86E #4147A8 #A8417A
split-complementary
#A8A241 #417AA8 #6E41A8
monochromatic
#504D1F #7C7730 #A8A241 #C3BD63 #D4D090

Accessibility & contrast

On white

2.66
#A8A241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#A8A241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A241
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A241#FFFFFF#000000##000000
##A8A2411.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C36
Deuteranopia (green-blind)
#B2A146
Tritanopia (blue-blind)
#B4988D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a241;
/* rgb */ color: rgb(168, 162, 65);
/* oklch */ color: oklch(69.8% 0.119 105.7);
Tailwind
colors: {
  custom: {
    50: '#c4bd7a',
    500: '#a8a241',
    950: '#000000',
  },
}
SCSS
$custom: #a8a241;
$custom-light: #c4bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a241",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 65
  },
  "hsl": {
    "h": 56.505,
    "s": 44.206,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69813,
    "c": 0.11858,
    "h": 105.7
  },
  "luminance": 0.34547
}

Semantic roles & 50–950 ramp

primary
#A8A241
secondary
#8689BF
accent
#5BD454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A241

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

Preview Lab → · Contrast checker → · Palette generator →

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