#A0A538#A0A538

#A0A538 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.7% C 0.130 H 111.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#A0A538
RGBrgb(160, 165, 56)
HSLhsl(63, 49%, 43%)
HSVhsv(63, 66%, 65%)
CMYKcmyk(3%, 0%, 66.1%, 35.3%)
CIE-LABlab(65.49, -15.94, 53.63)
CIE-LCHlch(65.49, 55.95, 106.55°)
OKLaboklab(69.7% -0.0486 0.121)
OKLCHoklch(69.7% 0.13 111.9)
XYZxyz(28.6670, 34.6700, 8.9225)
Luminance0.3467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0A538 #3D38A5
analogous
#A57338 #A0A538 #69A538
triadic
#A0A538 #38A0A5 #A538A0
tetradic
#A0A538 #38A573 #3D38A5 #A53869
square
#A0A538 #38A573 #3D38A5 #A53869
split-complementary
#A0A538 #3869A5 #7338A5
monochromatic
#474A19 #747728 #A0A538 #C0C555 #D1D583

Accessibility & contrast

On white

2.65
#A0A538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#A0A538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0A538
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0A538#FFFFFF#000000##000000
##A0A5381.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E29
Deuteranopia (green-blind)
#B2A03F
Tritanopia (blue-blind)
#AB9B8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a0a538;
/* rgb */ color: rgb(160, 165, 56);
/* oklch */ color: oklch(69.7% 0.130 111.9);
Tailwind
colors: {
  custom: {
    50: '#bfbf75',
    500: '#a0a538',
    950: '#000000',
  },
}
SCSS
$custom: #a0a538;
$custom-light: #bfbf75;
$custom-dark: #000000;
JSON
{
  "hex": "#a0a538",
  "rgb": {
    "r": 160,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 62.752,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69702,
    "c": 0.13039,
    "h": 111.9
  },
  "luminance": 0.34669
}

Semantic roles & 50–950 ramp

primary
#A0A538
secondary
#7D7ABE
accent
#4FD955
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A0A538

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

Preview Lab → · Contrast checker → · Palette generator →

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