#A1B830#A1B830

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

Color values

HEX#A1B830
RGBrgb(161, 184, 48)
HSLhsl(70, 59%, 45%)
HSVhsv(70, 74%, 72%)
CMYKcmyk(12.5%, 0%, 73.9%, 27.8%)
CIE-LABlab(70.92, -25.48, 62.07)
CIE-LCHlch(70.92, 67.09, 112.32°)
OKLaboklab(74.06% -0.0759 0.1374)
OKLCHoklch(74.06% 0.157 118.9)
XYZxyz(32.3726, 42.0717, 9.2110)
Luminance0.4207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B830 #4730B8
analogous
#B88B30 #A1B830 #5DB830
triadic
#A1B830 #30A1B8 #B830A1
tetradic
#A1B830 #30B88B #4730B8 #B8305D
square
#A1B830 #30B88B #4730B8 #B8305D
split-complementary
#A1B830 #305DB8 #8B30B8
monochromatic
#4C5717 #778723 #A1B830 #BDD253 #CFDF84

Accessibility & contrast

On white

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

On black

9.41
#A1B830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B830
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B830#FFFFFF#000000##000000
##A1B8301.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE13
Deuteranopia (green-blind)
#C2AE3C
Tritanopia (blue-blind)
#ABAE9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a1b830;
/* rgb */ color: rgb(161, 184, 48);
/* oklch */ color: oklch(74.1% 0.157 118.9);
Tailwind
colors: {
  custom: {
    50: '#c0cd72',
    500: '#a1b830',
    950: '#000000',
  },
}
SCSS
$custom: #a1b830;
$custom-light: #c0cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b830",
  "rgb": {
    "r": 161,
    "g": 184,
    "b": 48
  },
  "hsl": {
    "h": 70.147,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74061,
    "c": 0.15698,
    "h": 118.9
  },
  "luminance": 0.42071
}

Semantic roles & 50–950 ramp

primary
#A1B830
secondary
#897CC8
accent
#46E260
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A1B830

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

Preview Lab → · Contrast checker → · Palette generator →

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