#A1B627#A1B627

#A1B627 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.5% C 0.160 H 118.1°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#A1B627
RGBrgb(161, 182, 39)
HSLhsl(69, 65%, 43%)
HSVhsv(69, 79%, 71%)
CMYKcmyk(11.5%, 0%, 78.6%, 28.6%)
CIE-LABlab(70.30, -24.91, 64.36)
CIE-LCHlch(70.30, 69.01, 111.16°)
OKLaboklab(73.55% -0.0751 0.1407)
OKLCHoklch(73.55% 0.16 118.1)
XYZxyz(31.7929, 41.1798, 8.1927)
Luminance0.4118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B627 #3C27B6
analogous
#B68327 #A1B627 #59B627
triadic
#A1B627 #27A1B6 #B627A1
tetradic
#A1B627 #27B683 #3C27B6 #B62759
square
#A1B627 #27B683 #3C27B6 #B62759
split-complementary
#A1B627 #2759B6 #8327B6
monochromatic
#485111 #74841C #A1B627 #C1D743 #D2E276

Accessibility & contrast

On white

2.27
#A1B627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#A1B627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B627
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B627#FFFFFF#000000##000000
##A1B6271.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC00
Deuteranopia (green-blind)
#C0AD35
Tritanopia (blue-blind)
#ABAC9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a1b627;
/* rgb */ color: rgb(161, 182, 39);
/* oklch */ color: oklch(73.5% 0.160 118.1);
Tailwind
colors: {
  custom: {
    50: '#c1cb6e',
    500: '#a1b627',
    950: '#000000',
  },
}
SCSS
$custom: #a1b627;
$custom-light: #c1cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b627",
  "rgb": {
    "r": 161,
    "g": 182,
    "b": 39
  },
  "hsl": {
    "h": 68.811,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73548,
    "c": 0.1595,
    "h": 118.1
  },
  "luminance": 0.41179
}

Semantic roles & 50–950 ramp

primary
#A1B627
secondary
#7D70C9
accent
#40E859
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B627

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

Preview Lab → · Contrast checker → · Palette generator →

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