#A5A241#A5A241

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

Color values

HEX#A5A241
RGBrgb(165, 162, 65)
HSLhsl(58, 43%, 45%)
HSVhsv(58, 61%, 65%)
CMYKcmyk(0%, 1.8%, 60.6%, 35.3%)
CIE-LABlab(65.14, -11.62, 49.49)
CIE-LCHlch(65.14, 50.83, 103.21°)
OKLaboklab(69.55% -0.0357 0.1135)
OKLCHoklch(69.55% 0.119 107.5)
XYZxyz(29.3924, 34.2225, 10.0573)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A241 #4144A5
analogous
#A57041 #A5A241 #76A541
triadic
#A5A241 #41A5A2 #A241A5
tetradic
#A5A241 #41A570 #4144A5 #A54176
square
#A5A241 #41A570 #4144A5 #A54176
split-complementary
#A5A241 #4176A5 #7041A5
monochromatic
#4D4C1E #797730 #A5A241 #C1BE62 #D2D08E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A241#FFFFFF#000000##000000
##A5A2411.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)
#AF9C36
Deuteranopia (green-blind)
#B1A047
Tritanopia (blue-blind)
#B0988D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a241;
/* rgb */ color: rgb(165, 162, 65);
/* oklch */ color: oklch(69.5% 0.119 107.5);
Tailwind
colors: {
  custom: {
    50: '#c2bd7a',
    500: '#a5a241',
    950: '#000000',
  },
}
SCSS
$custom: #a5a241;
$custom-light: #c2bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a241",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 65
  },
  "hsl": {
    "h": 58.2,
    "s": 43.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69546,
    "c": 0.11894,
    "h": 107.5
  },
  "luminance": 0.34222
}

Semantic roles & 50–950 ramp

primary
#A5A241
secondary
#8486BE
accent
#58D355
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A5A241

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

Preview Lab → · Contrast checker → · Palette generator →

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