#A0A231#A0A231

#A0A231 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.0% C 0.132 H 110.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A0A231
RGBrgb(160, 162, 49)
HSLhsl(61, 54%, 41%)
HSVhsv(61, 70%, 64%)
CMYKcmyk(1.2%, 0%, 69.8%, 36.5%)
CIE-LABlab(64.59, -14.80, 55.52)
CIE-LCHlch(64.59, 57.46, 104.93°)
OKLaboklab(68.97% -0.0461 0.1238)
OKLCHoklch(68.97% 0.132 110.4)
XYZxyz(27.9728, 33.5368, 7.9048)
Luminance0.3354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0A231 #3331A2
analogous
#A26C31 #A0A231 #68A231
triadic
#A0A231 #31A0A2 #A231A0
tetradic
#A0A231 #31A26C #3331A2 #A23168
square
#A0A231 #31A26C #3331A2 #A23168
split-complementary
#A0A231 #3168A2 #6C31A2
monochromatic
#434415 #727323 #A0A231 #C6C848 #D4D677

Accessibility & contrast

On white

2.72
#A0A231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A0A231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0A231
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0A231#FFFFFF#000000##000000
##A0A2311.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#B09E39
Tritanopia (blue-blind)
#AB988C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a0a231;
/* rgb */ color: rgb(160, 162, 49);
/* oklch */ color: oklch(69.0% 0.132 110.4);
Tailwind
colors: {
  custom: {
    50: '#bfbd70',
    500: '#a0a231',
    950: '#000000',
  },
}
SCSS
$custom: #a0a231;
$custom-light: #bfbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#a0a231",
  "rgb": {
    "r": 160,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 61.062,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68968,
    "c": 0.13212,
    "h": 110.4
  },
  "luminance": 0.33536
}

Semantic roles & 50–950 ramp

primary
#A0A231
secondary
#7271BE
accent
#4BDD4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A0A231

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

Preview Lab → · Contrast checker → · Palette generator →

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