#A3A127#A3A127

#A3A127 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.9% C 0.137 H 108.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A3A127
RGBrgb(163, 161, 39)
HSLhsl(59, 61%, 40%)
HSVhsv(59, 76%, 64%)
CMYKcmyk(0%, 1.2%, 76.1%, 36.1%)
CIE-LABlab(64.50, -13.45, 59.12)
CIE-LCHlch(64.50, 60.63, 102.81°)
OKLaboklab(68.94% -0.0434 0.1295)
OKLCHoklch(68.94% 0.137 108.5)
XYZxyz(28.2164, 33.4237, 6.8841)
Luminance0.3342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A127 #2729A3
analogous
#A36327 #A3A127 #67A327
triadic
#A3A127 #27A3A1 #A127A3
tetradic
#A3A127 #27A363 #2729A3 #A32767
square
#A3A127 #27A363 #2729A3 #A32767
split-complementary
#A3A127 #2767A3 #6327A3
monochromatic
#403F0F #72701B #A3A127 #CFCD38 #DBD969

Accessibility & contrast

On white

2.73
#A3A127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#A3A127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3A127
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3A127#FFFFFF#000000##000000
##A3A1271.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A09
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#AF968A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a3a127;
/* rgb */ color: rgb(163, 161, 39);
/* oklch */ color: oklch(68.9% 0.137 108.5);
Tailwind
colors: {
  custom: {
    50: '#c2bc6b',
    500: '#a3a127',
    950: '#000000',
  },
}
SCSS
$custom: #a3a127;
$custom-light: #c2bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a127",
  "rgb": {
    "r": 163,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 59.032,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68938,
    "c": 0.1366,
    "h": 108.5
  },
  "luminance": 0.33423
}

Semantic roles & 50–950 ramp

primary
#A3A127
secondary
#6466C1
accent
#46E443
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A3A127

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

Preview Lab → · Contrast checker → · Palette generator →

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