#A0A831#A0A831

#A0A831 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.3% C 0.139 H 113.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#A0A831
RGBrgb(160, 168, 49)
HSLhsl(64, 55%, 43%)
HSVhsv(64, 71%, 66%)
CMYKcmyk(4.8%, 0%, 70.8%, 34.1%)
CIE-LABlab(66.29, -17.88, 57.20)
CIE-LCHlch(66.29, 59.93, 107.36°)
OKLaboklab(70.33% -0.0547 0.1274)
OKLCHoklch(70.33% 0.139 113.2)
XYZxyz(29.0551, 35.7012, 8.2656)
Luminance0.3570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0A831 #3931A8
analogous
#A87531 #A0A831 #64A831
triadic
#A0A831 #31A0A8 #A831A0
tetradic
#A0A831 #31A875 #3931A8 #A83164
square
#A0A831 #31A875 #3931A8 #A83164
split-complementary
#A0A831 #3164A8 #7531A8
monochromatic
#464915 #737923 #A0A831 #C2CB4C #D2D87B

Accessibility & contrast

On white

2.58
#A0A831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#A0A831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0A831
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0A831#FFFFFF#000000##000000
##A0A8311.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01D
Deuteranopia (green-blind)
#B4A23A
Tritanopia (blue-blind)
#AB9E91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a0a831;
/* rgb */ color: rgb(160, 168, 49);
/* oklch */ color: oklch(70.3% 0.139 113.2);
Tailwind
colors: {
  custom: {
    50: '#bfc171',
    500: '#a0a831',
    950: '#000000',
  },
}
SCSS
$custom: #a0a831;
$custom-light: #bfc171;
$custom-dark: #000000;
JSON
{
  "hex": "#a0a831",
  "rgb": {
    "r": 160,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 64.034,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70326,
    "c": 0.13861,
    "h": 113.2
  },
  "luminance": 0.35701
}

Semantic roles & 50–950 ramp

primary
#A0A831
secondary
#7974C1
accent
#4ADE54
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A0A831

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

Preview Lab → · Contrast checker → · Palette generator →

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