#A1B62E#A1B62E

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

Color values

HEX#A1B62E
RGBrgb(161, 182, 46)
HSLhsl(69, 60%, 45%)
HSVhsv(69, 75%, 71%)
CMYKcmyk(11.5%, 0%, 74.7%, 28.6%)
CIE-LABlab(70.34, -24.60, 62.19)
CIE-LCHlch(70.34, 66.87, 111.58°)
OKLaboklab(73.59% -0.0737 0.1373)
OKLCHoklch(73.59% 0.156 118.2)
XYZxyz(31.9198, 41.2305, 8.8610)
Luminance0.4123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B62E #432EB6
analogous
#B6872E #A1B62E #5DB62E
triadic
#A1B62E #2EA1B6 #B62EA1
tetradic
#A1B62E #2EB687 #432EB6 #B62E5D
square
#A1B62E #2EB687 #432EB6 #B62E5D
split-complementary
#A1B62E #2E5DB6 #872EB6
monochromatic
#4B5415 #768522 #A1B62E #BED24F #D0DF80

Accessibility & contrast

On white

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

On black

9.25
#A1B62E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B62E
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B62E#FFFFFF#000000##000000
##A1B62E1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1b62e;
/* rgb */ color: rgb(161, 182, 46);
/* oklch */ color: oklch(73.6% 0.156 118.2);
Tailwind
colors: {
  custom: {
    50: '#c0cb71',
    500: '#a1b62e',
    950: '#000000',
  },
}
SCSS
$custom: #a1b62e;
$custom-light: #c0cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b62e",
  "rgb": {
    "r": 161,
    "g": 182,
    "b": 46
  },
  "hsl": {
    "h": 69.265,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73588,
    "c": 0.15584,
    "h": 118.2
  },
  "luminance": 0.4123
}

Semantic roles & 50–950 ramp

primary
#A1B62E
secondary
#8478C8
accent
#45E35D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B62E

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

Preview Lab → · Contrast checker → · Palette generator →

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