#A1B224#A1B224

#A1B224 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.6% C 0.156 H 116.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#A1B224
RGBrgb(161, 178, 36)
HSLhsl(67, 66%, 42%)
HSVhsv(67, 80%, 70%)
CMYKcmyk(9.6%, 0%, 79.8%, 30.2%)
CIE-LABlab(69.14, -23.06, 64.19)
CIE-LCHlch(69.14, 68.21, 109.76°)
OKLaboklab(72.61% -0.0702 0.1399)
OKLCHoklch(72.61% 0.156 116.7)
XYZxyz(30.9376, 39.5457, 7.6720)
Luminance0.3955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B224 #3524B2
analogous
#B27C24 #A1B224 #5AB224
triadic
#A1B224 #24A1B2 #B224A1
tetradic
#A1B224 #24B27C #3524B2 #B2245A
square
#A1B224 #24B27C #3524B2 #B2245A
split-complementary
#A1B224 #245AB2 #7C24B2
monochromatic
#454C0F #737F1A #A1B224 #C5D83C #D4E26F

Accessibility & contrast

On white

2.36
#A1B224 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#A1B224 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B224
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B224#FFFFFF#000000##000000
##A1B2241.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BDAA32
Tritanopia (blue-blind)
#ACA898
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a1b224;
/* rgb */ color: rgb(161, 178, 36);
/* oklch */ color: oklch(72.6% 0.156 116.7);
Tailwind
colors: {
  custom: {
    50: '#c1c86c',
    500: '#a1b224',
    950: '#000000',
  },
}
SCSS
$custom: #a1b224;
$custom-light: #c1c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b224",
  "rgb": {
    "r": 161,
    "g": 178,
    "b": 36
  },
  "hsl": {
    "h": 67.183,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72613,
    "c": 0.15648,
    "h": 116.7
  },
  "luminance": 0.39545
}

Semantic roles & 50–950 ramp

primary
#A1B224
secondary
#7569C8
accent
#3FE953
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A1B224

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

Preview Lab → · Contrast checker → · Palette generator →

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