#A2B734#A2B734

#A2B734 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 73.9% C 0.153 H 118.3°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#A2B734
RGBrgb(162, 183, 52)
HSLhsl(70, 56%, 46%)
HSVhsv(70, 72%, 72%)
CMYKcmyk(11.5%, 0%, 71.6%, 28.2%)
CIE-LABlab(70.73, -24.36, 60.50)
CIE-LCHlch(70.73, 65.22, 111.94°)
OKLaboklab(73.93% -0.0725 0.1348)
OKLCHoklch(73.93% 0.153 118.3)
XYZxyz(32.4543, 41.7966, 9.6060)
Luminance0.4180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B734 #4934B7
analogous
#B78A34 #A2B734 #60B734
triadic
#A2B734 #34A2B7 #B734A2
tetradic
#A2B734 #34B78A #4934B7 #B73460
square
#A2B734 #34B78A #4934B7 #B73460
split-complementary
#A2B734 #3460B7 #8A34B7
monochromatic
#4E5819 #788726 #A2B734 #BDD059 #D0DD88

Accessibility & contrast

On white

2.24
#A2B734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#A2B734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B734
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B734#FFFFFF#000000##000000
##A2B7341.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD1C
Deuteranopia (green-blind)
#C1AE3F
Tritanopia (blue-blind)
#ACAD9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a2b734;
/* rgb */ color: rgb(162, 183, 52);
/* oklch */ color: oklch(73.9% 0.153 118.3);
Tailwind
colors: {
  custom: {
    50: '#c1cc74',
    500: '#a2b734',
    950: '#000000',
  },
}
SCSS
$custom: #a2b734;
$custom-light: #c1cc74;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b734",
  "rgb": {
    "r": 162,
    "g": 183,
    "b": 52
  },
  "hsl": {
    "h": 69.618,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73934,
    "c": 0.15304,
    "h": 118.3
  },
  "luminance": 0.41796
}

Semantic roles & 50–950 ramp

primary
#A2B734
secondary
#8B80C7
accent
#49DF61
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B734

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

Preview Lab → · Contrast checker → · Palette generator →

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