#A5A643#A5A643

#A5A643 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.122 H 109.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#A5A643
RGBrgb(165, 166, 67)
HSLhsl(61, 42%, 46%)
HSVhsv(61, 60%, 65%)
CMYKcmyk(0.6%, 0%, 59.6%, 34.9%)
CIE-LABlab(66.27, -13.56, 49.83)
CIE-LCHlch(66.27, 51.64, 105.23°)
OKLaboklab(70.46% -0.041 0.1145)
OKLCHoklch(70.46% 0.122 109.7)
XYZxyz(30.1672, 35.6778, 10.6065)
Luminance0.3568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A643 #4443A6
analogous
#A67543 #A5A643 #73A643
triadic
#A5A643 #43A5A6 #A643A5
tetradic
#A5A643 #43A675 #4443A6 #A64373
square
#A5A643 #43A675 #4443A6 #A64373
split-complementary
#A5A643 #4373A6 #7543A6
monochromatic
#4E4F20 #7A7A31 #A5A643 #C0C165 #D2D391

Accessibility & contrast

On white

2.58
#A5A643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#A5A643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A643
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A643#FFFFFF#000000##000000
##A5A6431.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F38
Deuteranopia (green-blind)
#B4A349
Tritanopia (blue-blind)
#B09C91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a643;
/* rgb */ color: rgb(165, 166, 67);
/* oklch */ color: oklch(70.5% 0.122 109.7);
Tailwind
colors: {
  custom: {
    50: '#c2c07b',
    500: '#a5a643',
    950: '#000000',
  },
}
SCSS
$custom: #a5a643;
$custom-light: #c2c07b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a643",
  "rgb": {
    "r": 165,
    "g": 166,
    "b": 67
  },
  "hsl": {
    "h": 60.606,
    "s": 42.489,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70456,
    "c": 0.12156,
    "h": 109.7
  },
  "luminance": 0.35677
}

Semantic roles & 50–950 ramp

primary
#A5A643
secondary
#8787BE
accent
#56D257
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A5A643

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

Preview Lab → · Contrast checker → · Palette generator →

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