#A1B935#A1B935

#A1B935 is a light, vivid yellow-green. Relative luminance 0.425; OKLCH L 74.3% C 0.155 H 119.4°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#A1B935
RGBrgb(161, 185, 53)
HSLhsl(71, 55%, 47%)
HSVhsv(71, 71%, 73%)
CMYKcmyk(13%, 0%, 71.4%, 27.5%)
CIE-LABlab(71.24, -25.70, 60.61)
CIE-LCHlch(71.24, 65.83, 112.98°)
OKLaboklab(74.33% -0.0761 0.1352)
OKLCHoklch(74.33% 0.155 119.4)
XYZxyz(32.6901, 42.5322, 9.8549)
Luminance0.4253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B935 #4D35B9
analogous
#B98F35 #A1B935 #5FB935
triadic
#A1B935 #35A1B9 #B935A1
tetradic
#A1B935 #35B98F #4D35B9 #B9355F
square
#A1B935 #35B98F #4D35B9 #B9355F
split-complementary
#A1B935 #355FB9 #8F35B9
monochromatic
#4E5A1A #788927 #A1B935 #BBD05B #CFDE8B

Accessibility & contrast

On white

2.21
#A1B935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#A1B935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B935
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B935#FFFFFF#000000##000000
##A1B9351.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE1E
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#AAAF9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a1b935;
/* rgb */ color: rgb(161, 185, 53);
/* oklch */ color: oklch(74.3% 0.155 119.4);
Tailwind
colors: {
  custom: {
    50: '#c0ce75',
    500: '#a1b935',
    950: '#000000',
  },
}
SCSS
$custom: #a1b935;
$custom-light: #c0ce75;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b935",
  "rgb": {
    "r": 161,
    "g": 185,
    "b": 53
  },
  "hsl": {
    "h": 70.909,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74325,
    "c": 0.15512,
    "h": 119.4
  },
  "luminance": 0.42532
}

Semantic roles & 50–950 ramp

primary
#A1B935
secondary
#8F82C8
accent
#49DF64
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A1B935

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

Preview Lab → · Contrast checker → · Palette generator →

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