#A2B434#A2B434

#A2B434 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.2% C 0.150 H 117.2°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#A2B434
RGBrgb(162, 180, 52)
HSLhsl(68, 55%, 45%)
HSVhsv(68, 71%, 71%)
CMYKcmyk(10%, 0%, 71.1%, 29.4%)
CIE-LABlab(69.88, -22.89, 59.66)
CIE-LCHlch(69.88, 63.90, 110.99°)
OKLaboklab(73.25% -0.0685 0.133)
OKLCHoklch(73.25% 0.15 117.2)
XYZxyz(31.8421, 40.5722, 9.4019)
Luminance0.4057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B434 #4634B4
analogous
#B48634 #A2B434 #62B434
triadic
#A2B434 #34A2B4 #B434A2
tetradic
#A2B434 #34B486 #4634B4 #B43462
square
#A2B434 #34B486 #4634B4 #B43462
split-complementary
#A2B434 #3462B4 #8634B4
monochromatic
#4D5519 #778526 #A2B434 #BECE57 #D0DC86

Accessibility & contrast

On white

2.30
#A2B434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#A2B434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B434
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B434#FFFFFF#000000##000000
##A2B4341.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1E
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#ACAA9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b434;
/* rgb */ color: rgb(162, 180, 52);
/* oklch */ color: oklch(73.2% 0.150 117.2);
Tailwind
colors: {
  custom: {
    50: '#c1ca74',
    500: '#a2b434',
    950: '#000000',
  },
}
SCSS
$custom: #a2b434;
$custom-light: #c1ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b434",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 52
  },
  "hsl": {
    "h": 68.438,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73246,
    "c": 0.14958,
    "h": 117.2
  },
  "luminance": 0.40572
}

Semantic roles & 50–950 ramp

primary
#A2B434
secondary
#887EC6
accent
#49DF5E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B434

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

Preview Lab → · Contrast checker → · Palette generator →

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