#A1B434#A1B434

#A1B434 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.150 H 117.6°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#A1B434
RGBrgb(161, 180, 52)
HSLhsl(69, 55%, 45%)
HSVhsv(69, 71%, 71%)
CMYKcmyk(10.6%, 0%, 71.1%, 29.4%)
CIE-LABlab(69.80, -23.31, 59.56)
CIE-LCHlch(69.80, 63.96, 111.37°)
OKLaboklab(73.17% -0.0696 0.1328)
OKLCHoklch(73.17% 0.15 117.6)
XYZxyz(31.6397, 40.4678, 9.3924)
Luminance0.4047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B434 #4734B4
analogous
#B48734 #A1B434 #61B434
triadic
#A1B434 #34A1B4 #B434A1
tetradic
#A1B434 #34B487 #4734B4 #B43461
square
#A1B434 #34B487 #4734B4 #B43461
split-complementary
#A1B434 #3461B4 #8734B4
monochromatic
#4C5519 #778526 #A1B434 #BDCE57 #CFDC86

Accessibility & contrast

On white

2.31
#A1B434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#A1B434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B434
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B434#FFFFFF#000000##000000
##A1B4341.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1E
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#ABAA9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a1b434;
/* rgb */ color: rgb(161, 180, 52);
/* oklch */ color: oklch(73.2% 0.150 117.6);
Tailwind
colors: {
  custom: {
    50: '#c0ca74',
    500: '#a1b434',
    950: '#000000',
  },
}
SCSS
$custom: #a1b434;
$custom-light: #c0ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b434",
  "rgb": {
    "r": 161,
    "g": 180,
    "b": 52
  },
  "hsl": {
    "h": 68.906,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73168,
    "c": 0.14993,
    "h": 117.6
  },
  "luminance": 0.40468
}

Semantic roles & 50–950 ramp

primary
#A1B434
secondary
#897EC6
accent
#49DF5F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A1B434

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

Preview Lab → · Contrast checker → · Palette generator →

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