#A2B62F#A2B62F

#A2B62F 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#A2B62F
RGBrgb(162, 182, 47)
HSLhsl(69, 59%, 45%)
HSVhsv(69, 74%, 71%)
CMYKcmyk(11%, 0%, 74.2%, 28.6%)
CIE-LABlab(70.42, -24.13, 61.95)
CIE-LCHlch(70.42, 66.48, 111.28°)
OKLaboklab(73.67% -0.0723 0.137)
OKLCHoklch(73.67% 0.155 117.8)
XYZxyz(32.1421, 41.3428, 8.9755)
Luminance0.4134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B62F #432FB6
analogous
#B6872F #A2B62F #5EB62F
triadic
#A2B62F #2FA2B6 #B62FA2
tetradic
#A2B62F #2FB687 #432FB6 #B62F5E
square
#A2B62F #2FB687 #432FB6 #B62F5E
split-complementary
#A2B62F #2F5EB6 #872FB6
monochromatic
#4B5516 #778522 #A2B62F #BFD250 #D1DE81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B62F#FFFFFF#000000##000000
##A2B62F1.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)
#C2AC12
Deuteranopia (green-blind)
#C0AD3B
Tritanopia (blue-blind)
#ACAC9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a2b62f;
/* rgb */ color: rgb(162, 182, 47);
/* oklch */ color: oklch(73.7% 0.155 117.8);
Tailwind
colors: {
  custom: {
    50: '#c1cb72',
    500: '#a2b62f',
    950: '#000000',
  },
}
SCSS
$custom: #a2b62f;
$custom-light: #c1cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b62f",
  "rgb": {
    "r": 162,
    "g": 182,
    "b": 47
  },
  "hsl": {
    "h": 68.889,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73671,
    "c": 0.1549,
    "h": 117.8
  },
  "luminance": 0.41343
}

Semantic roles & 50–950 ramp

primary
#A2B62F
secondary
#8579C7
accent
#46E25D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B62F

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

Preview Lab → · Contrast checker → · Palette generator →

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