#A0A226#A0A226

#A0A226 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.9% C 0.139 H 110.5°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#A0A226
RGBrgb(160, 162, 38)
HSLhsl(61, 62%, 39%)
HSVhsv(61, 77%, 64%)
CMYKcmyk(1.2%, 0%, 76.5%, 36.5%)
CIE-LABlab(64.53, -15.33, 59.38)
CIE-LCHlch(64.53, 61.33, 104.47°)
OKLaboklab(68.9% -0.0486 0.13)
OKLCHoklch(68.9% 0.139 110.5)
XYZxyz(27.7684, 33.4550, 6.8281)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0A226 #2826A2
analogous
#A26626 #A0A226 #62A226
triadic
#A0A226 #26A0A2 #A226A0
tetradic
#A0A226 #26A266 #2826A2 #A22662
square
#A0A226 #26A266 #2826A2 #A22662
split-complementary
#A0A226 #2662A2 #6626A2
monochromatic
#3E3F0F #6F701A #A0A226 #CDD035 #D9DB67

Accessibility & contrast

On white

2.73
#A0A226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#A0A226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0A226
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0A226#FFFFFF#000000##000000
##A0A2261.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B05
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#AC978B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a0a226;
/* rgb */ color: rgb(160, 162, 38);
/* oklch */ color: oklch(68.9% 0.139 110.5);
Tailwind
colors: {
  custom: {
    50: '#c0bd6b',
    500: '#a0a226',
    950: '#000000',
  },
}
SCSS
$custom: #a0a226;
$custom-light: #c0bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a0a226",
  "rgb": {
    "r": 160,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 60.968,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68895,
    "c": 0.13879,
    "h": 110.5
  },
  "luminance": 0.33454
}

Semantic roles & 50–950 ramp

primary
#A0A226
secondary
#6463C1
accent
#43E545
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A0A226

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

Preview Lab → · Contrast checker → · Palette generator →

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