#A2B92B#A2B92B

#A2B92B is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.3% C 0.160 H 118.8°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#A2B92B
RGBrgb(162, 185, 43)
HSLhsl(70, 62%, 45%)
HSVhsv(70, 77%, 73%)
CMYKcmyk(12.4%, 0%, 76.8%, 27.5%)
CIE-LABlab(71.25, -25.78, 64.04)
CIE-LCHlch(71.25, 69.03, 111.93°)
OKLaboklab(74.34% -0.0772 0.1407)
OKLCHoklch(74.34% 0.16 118.8)
XYZxyz(32.6860, 42.5540, 8.7769)
Luminance0.4255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B92B #422BB9
analogous
#B9892B #A2B92B #5BB92B
triadic
#A2B92B #2BA2B9 #B92BA2
tetradic
#A2B92B #2BB989 #422BB9 #B92B5B
square
#A2B92B #2BB989 #422BB9 #B92B5B
split-complementary
#A2B92B #2B5BB9 #892BB9
monochromatic
#4B5614 #77871F #A2B92B #BFD54C #D1E17E

Accessibility & contrast

On white

2.21
#A2B92B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#A2B92B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B92B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B92B#FFFFFF#000000##000000
##A2B92B1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE02
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#ACAF9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a2b92b;
/* rgb */ color: rgb(162, 185, 43);
/* oklch */ color: oklch(74.3% 0.160 118.8);
Tailwind
colors: {
  custom: {
    50: '#c1ce70',
    500: '#a2b92b',
    950: '#000000',
  },
}
SCSS
$custom: #a2b92b;
$custom-light: #c1ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b92b",
  "rgb": {
    "r": 162,
    "g": 185,
    "b": 43
  },
  "hsl": {
    "h": 69.718,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74337,
    "c": 0.16049,
    "h": 118.8
  },
  "luminance": 0.42554
}

Semantic roles & 50–950 ramp

primary
#A2B92B
secondary
#8476C9
accent
#42E55D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B92B

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

Preview Lab → · Contrast checker → · Palette generator →

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