#A0B840#A0B840

#A0B840 is a light, vivid yellow-green. Relative luminance 0.421; OKLCH L 74.1% C 0.147 H 119.8°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#A0B840
RGBrgb(160, 184, 64)
HSLhsl(72, 48%, 49%)
HSVhsv(72, 65%, 72%)
CMYKcmyk(13%, 0%, 65.2%, 27.8%)
CIE-LABlab(70.96, -24.95, 56.04)
CIE-LCHlch(70.96, 61.34, 114.00°)
OKLaboklab(74.11% -0.0729 0.1273)
OKLCHoklch(74.11% 0.147 119.8)
XYZxyz(32.5636, 42.1249, 11.2649)
Luminance0.4213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B840 #5840B8
analogous
#B89440 #A0B840 #64B840
triadic
#A0B840 #40A0B8 #B840A0
tetradic
#A0B840 #40B894 #5840B8 #B84064
square
#A0B840 #40B894 #5840B8 #B84064
split-complementary
#A0B840 #4064B8 #9440B8
monochromatic
#515D20 #798B30 #A0B840 #B8CB6A #CDDB97

Accessibility & contrast

On white

2.23
#A0B840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#A0B840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B840
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B840#FFFFFF#000000##000000
##A0B8401.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE30
Deuteranopia (green-blind)
#C0AE49
Tritanopia (blue-blind)
#A9AF9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a0b840;
/* rgb */ color: rgb(160, 184, 64);
/* oklch */ color: oklch(74.1% 0.147 119.8);
Tailwind
colors: {
  custom: {
    50: '#bfcd7b',
    500: '#a0b840',
    950: '#000000',
  },
}
SCSS
$custom: #a0b840;
$custom-light: #bfcd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b840",
  "rgb": {
    "r": 160,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 72,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74107,
    "c": 0.14669,
    "h": 119.8
  },
  "luminance": 0.42125
}

Semantic roles & 50–950 ramp

primary
#A0B840
secondary
#998DC7
accent
#50D86B
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #A0B840

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

Preview Lab → · Contrast checker → · Palette generator →

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