#A0A628#A0A628

#A0A628 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.8% C 0.142 H 112.3°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#A0A628
RGBrgb(160, 166, 40)
HSLhsl(63, 61%, 40%)
HSVhsv(63, 76%, 65%)
CMYKcmyk(3.6%, 0%, 75.9%, 34.9%)
CIE-LABlab(65.67, -17.30, 59.78)
CIE-LCHlch(65.67, 62.23, 106.14°)
OKLaboklab(69.81% -0.0539 0.1312)
OKLCHoklch(69.81% 0.142 112.3)
XYZxyz(28.5174, 34.8999, 7.2412)
Luminance0.3490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0A628 #2E28A6
analogous
#A66D28 #A0A628 #61A628
triadic
#A0A628 #28A0A6 #A628A0
tetradic
#A0A628 #28A66D #2E28A6 #A62861
square
#A0A628 #28A66D #2E28A6 #A62861
split-complementary
#A0A628 #2861A6 #6D28A6
monochromatic
#414310 #70751C #A0A628 #C9D03B #D6DC6D

Accessibility & contrast

On white

2.63
#A0A628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#A0A628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0A628
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0A628#FFFFFF#000000##000000
##A0A6281.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E09
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#AB9C8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a0a628;
/* rgb */ color: rgb(160, 166, 40);
/* oklch */ color: oklch(69.8% 0.142 112.3);
Tailwind
colors: {
  custom: {
    50: '#c0c06c',
    500: '#a0a628',
    950: '#000000',
  },
}
SCSS
$custom: #a0a628;
$custom-light: #c0c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a0a628",
  "rgb": {
    "r": 160,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 62.857,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69813,
    "c": 0.14186,
    "h": 112.3
  },
  "luminance": 0.34899
}

Semantic roles & 50–950 ramp

primary
#A0A628
secondary
#6C67C2
accent
#44E44B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A0A628

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

Preview Lab → · Contrast checker → · Palette generator →

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