#A2B426#A2B426

#A2B426 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.157 H 117.0°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#A2B426
RGBrgb(162, 180, 38)
HSLhsl(68, 65%, 43%)
HSVhsv(68, 79%, 71%)
CMYKcmyk(10%, 0%, 78.9%, 29.4%)
CIE-LABlab(69.80, -23.54, 64.23)
CIE-LCHlch(69.80, 68.41, 110.13°)
OKLaboklab(73.16% -0.0714 0.1402)
OKLCHoklch(73.16% 0.157 117)
XYZxyz(31.5722, 40.4642, 7.9805)
Luminance0.4046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B426 #3826B4
analogous
#B47F26 #A2B426 #5BB426
triadic
#A2B426 #26A2B4 #B426A2
tetradic
#A2B426 #26B47F #3826B4 #B4265B
square
#A2B426 #26B47F #3826B4 #B4265B
split-complementary
#A2B426 #265BB4 #7F26B4
monochromatic
#474F11 #75811B #A2B426 #C4D740 #D3E173

Accessibility & contrast

On white

2.31
#A2B426 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#A2B426 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B426
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B426#FFFFFF#000000##000000
##A2B4261.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAB34
Tritanopia (blue-blind)
#ACAA9A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b426;
/* rgb */ color: rgb(162, 180, 38);
/* oklch */ color: oklch(73.2% 0.157 117.0);
Tailwind
colors: {
  custom: {
    50: '#c1ca6d',
    500: '#a2b426',
    950: '#000000',
  },
}
SCSS
$custom: #a2b426;
$custom-light: #c1ca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b426",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 38
  },
  "hsl": {
    "h": 67.606,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.7316,
    "c": 0.15739,
    "h": 117
  },
  "luminance": 0.40464
}

Semantic roles & 50–950 ramp

primary
#A2B426
secondary
#796DC9
accent
#40E855
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B426

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

Preview Lab → · Contrast checker → · Palette generator →

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