#A1B62C#A1B62C

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

Color values

HEX#A1B62C
RGBrgb(161, 182, 44)
HSLhsl(69, 61%, 44%)
HSVhsv(69, 76%, 71%)
CMYKcmyk(11.5%, 0%, 75.8%, 28.6%)
CIE-LABlab(70.33, -24.69, 62.83)
CIE-LCHlch(70.33, 67.51, 111.45°)
OKLaboklab(73.58% -0.0741 0.1384)
OKLCHoklch(73.58% 0.157 118.2)
XYZxyz(31.8812, 41.2151, 8.6582)
Luminance0.4122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B62C #412CB6
analogous
#B6862C #A1B62C #5CB62C
triadic
#A1B62C #2CA1B6 #B62CA1
tetradic
#A1B62C #2CB686 #412CB6 #B62C5C
square
#A1B62C #2CB686 #412CB6 #B62C5C
split-complementary
#A1B62C #2C5CB6 #862CB6
monochromatic
#4A5314 #758520 #A1B62C #BFD44C #D1E07D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1B62C#FFFFFF#000000##000000
##A1B62C1.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)
#C2AC09
Deuteranopia (green-blind)
#C0AD39
Tritanopia (blue-blind)
#ABAC9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a1b62c;
/* rgb */ color: rgb(161, 182, 44);
/* oklch */ color: oklch(73.6% 0.157 118.2);
Tailwind
colors: {
  custom: {
    50: '#c0cb70',
    500: '#a1b62c',
    950: '#000000',
  },
}
SCSS
$custom: #a1b62c;
$custom-light: #c0cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b62c",
  "rgb": {
    "r": 161,
    "g": 182,
    "b": 44
  },
  "hsl": {
    "h": 69.13,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73576,
    "c": 0.15694,
    "h": 118.2
  },
  "luminance": 0.41215
}

Semantic roles & 50–950 ramp

primary
#A1B62C
secondary
#8276C8
accent
#44E45C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B62C

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

Preview Lab → · Contrast checker → · Palette generator →

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