#A1B726#A1B726

#A1B726 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 73.8% C 0.161 H 118.4°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#A1B726
RGBrgb(161, 183, 38)
HSLhsl(69, 66%, 43%)
HSVhsv(69, 79%, 72%)
CMYKcmyk(12%, 0%, 79.2%, 28.2%)
CIE-LABlab(70.58, -25.43, 64.91)
CIE-LCHlch(70.58, 69.71, 111.40°)
OKLaboklab(73.77% -0.0766 0.1417)
OKLCHoklch(73.77% 0.161 118.4)
XYZxyz(31.9820, 41.5843, 8.1751)
Luminance0.4158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B726 #3C26B7
analogous
#B78426 #A1B726 #59B726
triadic
#A1B726 #26A1B7 #B726A1
tetradic
#A1B726 #26B784 #3C26B7 #B72659
square
#A1B726 #26B784 #3C26B7 #B72659
split-complementary
#A1B726 #2659B7 #8426B7
monochromatic
#485211 #74841B #A1B726 #C1D842 #D2E275

Accessibility & contrast

On white

2.25
#A1B726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#A1B726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B726
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B726#FFFFFF#000000##000000
##A1B7261.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C1AD34
Tritanopia (blue-blind)
#ABAD9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a1b726;
/* rgb */ color: rgb(161, 183, 38);
/* oklch */ color: oklch(73.8% 0.161 118.4);
Tailwind
colors: {
  custom: {
    50: '#c1cc6e',
    500: '#a1b726',
    950: '#000000',
  },
}
SCSS
$custom: #a1b726;
$custom-light: #c1cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b726",
  "rgb": {
    "r": 161,
    "g": 183,
    "b": 38
  },
  "hsl": {
    "h": 69.103,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73773,
    "c": 0.16109,
    "h": 118.4
  },
  "luminance": 0.41584
}

Semantic roles & 50–950 ramp

primary
#A1B726
secondary
#7D6FCA
accent
#3FE959
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B726

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

Preview Lab → · Contrast checker → · Palette generator →

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