#A1B727#A1B727

#A1B727 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#A1B727
RGBrgb(161, 183, 39)
HSLhsl(69, 65%, 44%)
HSVhsv(69, 79%, 72%)
CMYKcmyk(12%, 0%, 78.7%, 28.2%)
CIE-LABlab(70.59, -25.39, 64.62)
CIE-LCHlch(70.59, 69.43, 111.45°)
OKLaboklab(73.78% -0.0764 0.1413)
OKLCHoklch(73.78% 0.161 118.4)
XYZxyz(31.9984, 41.5908, 8.2612)
Luminance0.4159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B727 #3D27B7
analogous
#B78527 #A1B727 #59B727
triadic
#A1B727 #27A1B7 #B727A1
tetradic
#A1B727 #27B785 #3D27B7 #B72759
square
#A1B727 #27B785 #3D27B7 #B72759
split-complementary
#A1B727 #2759B7 #8527B7
monochromatic
#485211 #75851C #A1B727 #C1D744 #D1E276

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1B727#FFFFFF#000000##000000
##A1B7271.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)
#C1AD35
Tritanopia (blue-blind)
#ABAD9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a1b727;
/* rgb */ color: rgb(161, 183, 39);
/* oklch */ color: oklch(73.8% 0.161 118.4);
Tailwind
colors: {
  custom: {
    50: '#c1cc6e',
    500: '#a1b727',
    950: '#000000',
  },
}
SCSS
$custom: #a1b727;
$custom-light: #c1cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b727",
  "rgb": {
    "r": 161,
    "g": 183,
    "b": 39
  },
  "hsl": {
    "h": 69.167,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73778,
    "c": 0.16062,
    "h": 118.4
  },
  "luminance": 0.41591
}

Semantic roles & 50–950 ramp

primary
#A1B727
secondary
#7E70C9
accent
#40E85A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B727

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

Preview Lab → · Contrast checker → · Palette generator →

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