#A1B62D#A1B62D

#A1B62D 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.24:1 contrast (WCAG AA passes).

Color values

HEX#A1B62D
RGBrgb(161, 182, 45)
HSLhsl(69, 60%, 45%)
HSVhsv(69, 75%, 71%)
CMYKcmyk(11.5%, 0%, 75.3%, 28.6%)
CIE-LABlab(70.33, -24.65, 62.51)
CIE-LCHlch(70.33, 67.20, 111.52°)
OKLaboklab(73.58% -0.0739 0.1379)
OKLCHoklch(73.58% 0.156 118.2)
XYZxyz(31.9003, 41.2227, 8.7584)
Luminance0.4122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B62D #422DB6
analogous
#B6872D #A1B62D #5DB62D
triadic
#A1B62D #2DA1B6 #B62DA1
tetradic
#A1B62D #2DB687 #422DB6 #B62D5D
square
#A1B62D #2DB687 #422DB6 #B62D5D
split-complementary
#A1B62D #2D5DB6 #872DB6
monochromatic
#4A5415 #768521 #A1B62D #BFD34D #D0DF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a1b62d;
/* rgb */ color: rgb(161, 182, 45);
/* oklch */ color: oklch(73.6% 0.156 118.2);
Tailwind
colors: {
  custom: {
    50: '#c0cb71',
    500: '#a1b62d',
    950: '#000000',
  },
}
SCSS
$custom: #a1b62d;
$custom-light: #c0cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b62d",
  "rgb": {
    "r": 161,
    "g": 182,
    "b": 45
  },
  "hsl": {
    "h": 69.197,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73582,
    "c": 0.1564,
    "h": 118.2
  },
  "luminance": 0.41222
}

Semantic roles & 50–950 ramp

primary
#A1B62D
secondary
#8377C8
accent
#44E35D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B62D

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

Preview Lab → · Contrast checker → · Palette generator →

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