#A3A138#A3A138

#A3A138 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.125 H 108.2°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A3A138
RGBrgb(163, 161, 56)
HSLhsl(59, 49%, 43%)
HSVhsv(59, 66%, 64%)
CMYKcmyk(0%, 1.2%, 65.6%, 36.1%)
CIE-LABlab(64.61, -12.56, 52.80)
CIE-LCHlch(64.61, 54.27, 103.38°)
OKLaboklab(69.06% -0.0392 0.1192)
OKLCHoklch(69.06% 0.125 108.2)
XYZxyz(28.5639, 33.5627, 8.7142)
Luminance0.3356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A138 #383AA3
analogous
#A36C38 #A3A138 #6FA338
triadic
#A3A138 #38A3A1 #A138A3
tetradic
#A3A138 #38A36C #383AA3 #A3386F
square
#A3A138 #38A36C #383AA3 #A3386F
split-complementary
#A3A138 #386FA3 #6C38A3
monochromatic
#484719 #757428 #A3A138 #C4C254 #D4D282

Accessibility & contrast

On white

2.72
#A3A138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A3A138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3A138
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3A138#FFFFFF#000000##000000
##A3A1381.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2A
Deuteranopia (green-blind)
#B09E3F
Tritanopia (blue-blind)
#AE978B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a3a138;
/* rgb */ color: rgb(163, 161, 56);
/* oklch */ color: oklch(69.1% 0.125 108.2);
Tailwind
colors: {
  custom: {
    50: '#c1bc74',
    500: '#a3a138',
    950: '#000000',
  },
}
SCSS
$custom: #a3a138;
$custom-light: #c1bc74;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a138",
  "rgb": {
    "r": 163,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 58.879,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69062,
    "c": 0.12546,
    "h": 108.2
  },
  "luminance": 0.33562
}

Semantic roles & 50–950 ramp

primary
#A3A138
secondary
#797BBD
accent
#52D84F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A3A138

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

Preview Lab → · Contrast checker → · Palette generator →

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