#A2B62C#A2B62C

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

Color values

HEX#A2B62C
RGBrgb(162, 182, 44)
HSLhsl(69, 61%, 44%)
HSVhsv(69, 76%, 71%)
CMYKcmyk(11%, 0%, 75.8%, 28.6%)
CIE-LABlab(70.40, -24.27, 62.93)
CIE-LCHlch(70.40, 67.45, 111.09°)
OKLaboklab(73.65% -0.073 0.1385)
OKLCHoklch(73.65% 0.157 117.8)
XYZxyz(32.0836, 41.3195, 8.6677)
Luminance0.4132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B62C #402CB6
analogous
#B6852C #A2B62C #5DB62C
triadic
#A2B62C #2CA2B6 #B62CA2
tetradic
#A2B62C #2CB685 #402CB6 #B62C5D
square
#A2B62C #2CB685 #402CB6 #B62C5D
split-complementary
#A2B62C #2C5DB6 #852CB6
monochromatic
#4A5314 #768520 #A2B62C #C0D44C #D1E07D

Accessibility & contrast

On white

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

On black

9.26
#A2B62C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B62C
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B62C#FFFFFF#000000##000000
##A2B62C1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b62c;
/* rgb */ color: rgb(162, 182, 44);
/* oklch */ color: oklch(73.7% 0.157 117.8);
Tailwind
colors: {
  custom: {
    50: '#c1cb70',
    500: '#a2b62c',
    950: '#000000',
  },
}
SCSS
$custom: #a2b62c;
$custom-light: #c1cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b62c",
  "rgb": {
    "r": 162,
    "g": 182,
    "b": 44
  },
  "hsl": {
    "h": 68.696,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73653,
    "c": 0.15657,
    "h": 117.8
  },
  "luminance": 0.41319
}

Semantic roles & 50–950 ramp

primary
#A2B62C
secondary
#8276C8
accent
#44E45B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B62C

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

Preview Lab → · Contrast checker → · Palette generator →

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