#A2B134#A2B134

#A2B134 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.6% C 0.146 H 116.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#A2B134
RGBrgb(162, 177, 52)
HSLhsl(67, 55%, 45%)
HSVhsv(67, 71%, 69%)
CMYKcmyk(8.5%, 0%, 70.6%, 30.6%)
CIE-LABlab(69.02, -21.40, 58.82)
CIE-LCHlch(69.02, 62.59, 109.99°)
OKLaboklab(72.56% -0.0643 0.1312)
OKLCHoklch(72.56% 0.146 116.1)
XYZxyz(31.2430, 39.3740, 9.2022)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B134 #4334B1
analogous
#B18234 #A2B134 #64B134
triadic
#A2B134 #34A2B1 #B134A2
tetradic
#A2B134 #34B182 #4334B1 #B13464
square
#A2B134 #34B182 #4334B1 #B13464
split-complementary
#A2B134 #3464B1 #8234B1
monochromatic
#4B5218 #778226 #A2B134 #BFCD55 #D1DB84

Accessibility & contrast

On white

2.37
#A2B134 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#A2B134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B134
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B134#FFFFFF#000000##000000
##A2B1341.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA81F
Deuteranopia (green-blind)
#BCA93E
Tritanopia (blue-blind)
#ACA798
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b134;
/* rgb */ color: rgb(162, 177, 52);
/* oklch */ color: oklch(72.6% 0.146 116.1);
Tailwind
colors: {
  custom: {
    50: '#c1c874',
    500: '#a2b134',
    950: '#000000',
  },
}
SCSS
$custom: #a2b134;
$custom-light: #c1c874;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b134",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 52
  },
  "hsl": {
    "h": 67.2,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7256,
    "c": 0.14614,
    "h": 116.1
  },
  "luminance": 0.39374
}

Semantic roles & 50–950 ramp

primary
#A2B134
secondary
#857CC5
accent
#4ADE5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B134

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

Preview Lab → · Contrast checker → · Palette generator →

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