#A2B62D#A2B62D

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

Color values

HEX#A2B62D
RGBrgb(162, 182, 45)
HSLhsl(69, 60%, 45%)
HSVhsv(69, 75%, 71%)
CMYKcmyk(11%, 0%, 75.3%, 28.6%)
CIE-LABlab(70.40, -24.23, 62.61)
CIE-LCHlch(70.40, 67.13, 111.15°)
OKLaboklab(73.66% -0.0728 0.138)
OKLCHoklch(73.66% 0.156 117.8)
XYZxyz(32.1026, 41.3271, 8.7679)
Luminance0.4133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B62D #412DB6
analogous
#B6862D #A2B62D #5EB62D
triadic
#A2B62D #2DA2B6 #B62DA2
tetradic
#A2B62D #2DB686 #412DB6 #B62D5E
square
#A2B62D #2DB686 #412DB6 #B62D5E
split-complementary
#A2B62D #2D5EB6 #862DB6
monochromatic
#4B5415 #768521 #A2B62D #BFD34D #D1DF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a2b62d;
/* rgb */ color: rgb(162, 182, 45);
/* oklch */ color: oklch(73.7% 0.156 117.8);
Tailwind
colors: {
  custom: {
    50: '#c1cb71',
    500: '#a2b62d',
    950: '#000000',
  },
}
SCSS
$custom: #a2b62d;
$custom-light: #c1cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b62d",
  "rgb": {
    "r": 162,
    "g": 182,
    "b": 45
  },
  "hsl": {
    "h": 68.759,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73658,
    "c": 0.15603,
    "h": 117.8
  },
  "luminance": 0.41327
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2B62D

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

Preview Lab → · Contrast checker → · Palette generator →

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