#A2B034#A2B034

#A2B034 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.3% C 0.145 H 115.7°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#A2B034
RGBrgb(162, 176, 52)
HSLhsl(67, 54%, 45%)
HSVhsv(67, 70%, 69%)
CMYKcmyk(8%, 0%, 70.5%, 31%)
CIE-LABlab(68.74, -20.90, 58.54)
CIE-LCHlch(68.74, 62.16, 109.65°)
OKLaboklab(72.33% -0.0629 0.1306)
OKLCHoklch(72.33% 0.145 115.7)
XYZxyz(31.0462, 38.9805, 9.1366)
Luminance0.3898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B034 #4234B0
analogous
#B08034 #A2B034 #64B034
triadic
#A2B034 #34A2B0 #B034A2
tetradic
#A2B034 #34B080 #4234B0 #B03464
square
#A2B034 #34B080 #4234B0 #B03464
split-complementary
#A2B034 #3464B0 #8034B0
monochromatic
#4B5218 #778126 #A2B034 #BFCD55 #D1DB84

Accessibility & contrast

On white

2.39
#A2B034 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#A2B034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B034
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B034#FFFFFF#000000##000000
##A2B0341.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71F
Deuteranopia (green-blind)
#BBA93E
Tritanopia (blue-blind)
#ACA698
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b034;
/* rgb */ color: rgb(162, 176, 52);
/* oklch */ color: oklch(72.3% 0.145 115.7);
Tailwind
colors: {
  custom: {
    50: '#c1c774',
    500: '#a2b034',
    950: '#000000',
  },
}
SCSS
$custom: #a2b034;
$custom-light: #c1c774;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b034",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 52
  },
  "hsl": {
    "h": 66.774,
    "s": 54.386,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72332,
    "c": 0.145,
    "h": 115.7
  },
  "luminance": 0.3898
}

Semantic roles & 50–950 ramp

primary
#A2B034
secondary
#847CC4
accent
#4ADE5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B034

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

Preview Lab → · Contrast checker → · Palette generator →

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