#A0A227#A0A227

#A0A227 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#A0A227
RGBrgb(160, 162, 39)
HSLhsl(61, 61%, 39%)
HSVhsv(61, 76%, 64%)
CMYKcmyk(1.2%, 0%, 75.9%, 36.5%)
CIE-LABlab(64.53, -15.29, 59.06)
CIE-LCHlch(64.53, 61.00, 104.51°)
OKLaboklab(68.9% -0.0484 0.1295)
OKLCHoklch(68.9% 0.138 110.5)
XYZxyz(27.7847, 33.4615, 6.9142)
Luminance0.3346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0A227 #2927A2
analogous
#A26727 #A0A227 #62A227
triadic
#A0A227 #27A0A2 #A227A0
tetradic
#A0A227 #27A267 #2927A2 #A22762
square
#A0A227 #27A267 #2927A2 #A22762
split-complementary
#A0A227 #2762A2 #6727A2
monochromatic
#3F3F0F #6F711B #A0A227 #CCCF37 #D9DB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0A227#FFFFFF#000000##000000
##A0A2271.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)
#AF9B09
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#AC988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a0a227;
/* rgb */ color: rgb(160, 162, 39);
/* oklch */ color: oklch(68.9% 0.138 110.5);
Tailwind
colors: {
  custom: {
    50: '#c0bd6b',
    500: '#a0a227',
    950: '#000000',
  },
}
SCSS
$custom: #a0a227;
$custom-light: #c0bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a0a227",
  "rgb": {
    "r": 160,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 60.976,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68901,
    "c": 0.13825,
    "h": 110.5
  },
  "luminance": 0.33461
}

Semantic roles & 50–950 ramp

primary
#A0A227
secondary
#6564C1
accent
#43E446
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A0A227

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

Preview Lab → · Contrast checker → · Palette generator →

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