#A0A228#A0A228

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

Color values

HEX#A0A228
RGBrgb(160, 162, 40)
HSLhsl(61, 60%, 40%)
HSVhsv(61, 75%, 64%)
CMYKcmyk(1.2%, 0%, 75.3%, 36.5%)
CIE-LABlab(64.54, -15.24, 58.73)
CIE-LCHlch(64.54, 60.67, 104.55°)
OKLaboklab(68.91% -0.0482 0.129)
OKLCHoklch(68.91% 0.138 110.5)
XYZxyz(27.8015, 33.4682, 7.0026)
Luminance0.3347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0A228 #2A28A2
analogous
#A26728 #A0A228 #63A228
triadic
#A0A228 #28A0A2 #A228A0
tetradic
#A0A228 #28A267 #2A28A2 #A22863
square
#A0A228 #28A267 #2A28A2 #A22863
split-complementary
#A0A228 #2863A2 #6728A2
monochromatic
#3F4010 #70711C #A0A228 #CCCE39 #D8DA6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0A228#FFFFFF#000000##000000
##A0A2281.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)
#AF9B0C
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#AB988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a0a228;
/* rgb */ color: rgb(160, 162, 40);
/* oklch */ color: oklch(68.9% 0.138 110.5);
Tailwind
colors: {
  custom: {
    50: '#c0bd6c',
    500: '#a0a228',
    950: '#000000',
  },
}
SCSS
$custom: #a0a228;
$custom-light: #c0bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a0a228",
  "rgb": {
    "r": 160,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 60.984,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68907,
    "c": 0.13769,
    "h": 110.5
  },
  "luminance": 0.33467
}

Semantic roles & 50–950 ramp

primary
#A0A228
secondary
#6765C1
accent
#44E447
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A0A228

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

Preview Lab → · Contrast checker → · Palette generator →

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