#A3A338#A3A338

#A3A338 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.5% C 0.128 H 109.3°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#A3A338
RGBrgb(163, 163, 56)
HSLhsl(60, 49%, 43%)
HSVhsv(60, 66%, 64%)
CMYKcmyk(0%, 0%, 65.6%, 36.1%)
CIE-LABlab(65.17, -13.61, 53.38)
CIE-LCHlch(65.17, 55.09, 104.30°)
OKLaboklab(69.51% -0.0422 0.1204)
OKLCHoklch(69.51% 0.128 109.3)
XYZxyz(28.9162, 34.2673, 8.8316)
Luminance0.3427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A338 #3838A3
analogous
#A36D38 #A3A338 #6DA338
triadic
#A3A338 #38A3A3 #A338A3
tetradic
#A3A338 #38A36D #3838A3 #A3386D
square
#A3A338 #38A36D #3838A3 #A3386D
split-complementary
#A3A338 #386DA3 #6D38A3
monochromatic
#484819 #757528 #A3A338 #C4C454 #D4D482

Accessibility & contrast

On white

2.67
#A3A338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#A3A338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3A338
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3A338#FFFFFF#000000##000000
##A3A3381.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C29
Deuteranopia (green-blind)
#B1A03F
Tritanopia (blue-blind)
#AE998D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a3a338;
/* rgb */ color: rgb(163, 163, 56);
/* oklch */ color: oklch(69.5% 0.128 109.3);
Tailwind
colors: {
  custom: {
    50: '#c1be74',
    500: '#a3a338',
    950: '#000000',
  },
}
SCSS
$custom: #a3a338;
$custom-light: #c1be74;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a338",
  "rgb": {
    "r": 163,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69509,
    "c": 0.12757,
    "h": 109.3
  },
  "luminance": 0.34266
}

Semantic roles & 50–950 ramp

primary
#A3A338
secondary
#7979BD
accent
#4FD84F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A3A338

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

Preview Lab → · Contrast checker → · Palette generator →

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