#A2B62E#A2B62E

#A2B62E is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.7% C 0.155 H 117.8°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#A2B62E
RGBrgb(162, 182, 46)
HSLhsl(69, 60%, 45%)
HSVhsv(69, 75%, 71%)
CMYKcmyk(11%, 0%, 74.7%, 28.6%)
CIE-LABlab(70.41, -24.18, 62.28)
CIE-LCHlch(70.41, 66.81, 111.22°)
OKLaboklab(73.67% -0.0726 0.1375)
OKLCHoklch(73.67% 0.155 117.8)
XYZxyz(32.1221, 41.3349, 8.8705)
Luminance0.4133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B62E #422EB6
analogous
#B6862E #A2B62E #5EB62E
triadic
#A2B62E #2EA2B6 #B62EA2
tetradic
#A2B62E #2EB686 #422EB6 #B62E5E
square
#A2B62E #2EB686 #422EB6 #B62E5E
split-complementary
#A2B62E #2E5EB6 #862EB6
monochromatic
#4B5415 #778522 #A2B62E #BFD24F #D1DF80

Accessibility & contrast

On white

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

On black

9.27
#A2B62E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B62E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B62E#FFFFFF#000000##000000
##A2B62E1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b62e;
/* rgb */ color: rgb(162, 182, 46);
/* oklch */ color: oklch(73.7% 0.155 117.8);
Tailwind
colors: {
  custom: {
    50: '#c1cb71',
    500: '#a2b62e',
    950: '#000000',
  },
}
SCSS
$custom: #a2b62e;
$custom-light: #c1cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b62e",
  "rgb": {
    "r": 162,
    "g": 182,
    "b": 46
  },
  "hsl": {
    "h": 68.824,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73665,
    "c": 0.15547,
    "h": 117.8
  },
  "luminance": 0.41335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2B62E

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

Preview Lab → · Contrast checker → · Palette generator →

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