#A0A526#A0A526

#A0A526 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.6% C 0.142 H 111.9°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#A0A526
RGBrgb(160, 165, 38)
HSLhsl(62, 63%, 40%)
HSVhsv(62, 77%, 65%)
CMYKcmyk(3%, 0%, 77%, 35.3%)
CIE-LABlab(65.38, -16.87, 60.16)
CIE-LCHlch(65.38, 62.48, 105.67°)
OKLaboklab(69.57% -0.0529 0.1317)
OKLCHoklch(69.57% 0.142 111.9)
XYZxyz(28.3032, 34.5245, 7.0063)
Luminance0.3452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0A526 #2B26A5
analogous
#A56A26 #A0A526 #61A526
triadic
#A0A526 #26A0A5 #A526A0
tetradic
#A0A526 #26A56A #2B26A5 #A52661
square
#A0A526 #26A56A #2B26A5 #A52661
split-complementary
#A0A526 #2661A5 #6A26A5
monochromatic
#40420F #70731B #A0A526 #CBD137 #D8DC69

Accessibility & contrast

On white

2.66
#A0A526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#A0A526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0A526
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0A526#FFFFFF#000000##000000
##A0A5261.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D03
Deuteranopia (green-blind)
#B3A031
Tritanopia (blue-blind)
#AB9B8D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a0a526;
/* rgb */ color: rgb(160, 165, 38);
/* oklch */ color: oklch(69.6% 0.142 111.9);
Tailwind
colors: {
  custom: {
    50: '#c0bf6b',
    500: '#a0a526',
    950: '#000000',
  },
}
SCSS
$custom: #a0a526;
$custom-light: #c0bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a0a526",
  "rgb": {
    "r": 160,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 62.362,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69574,
    "c": 0.14188,
    "h": 111.9
  },
  "luminance": 0.34524
}

Semantic roles & 50–950 ramp

primary
#A0A526
secondary
#6864C3
accent
#42E649
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A0A526

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

Preview Lab → · Contrast checker → · Palette generator →

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