#A2B345#A2B345

#A2B345 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.136 H 117.3°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#A2B345
RGBrgb(162, 179, 69)
HSLhsl(69, 44%, 49%)
HSVhsv(69, 61%, 70%)
CMYKcmyk(9.5%, 0%, 61.5%, 29.8%)
CIE-LABlab(69.72, -21.30, 52.64)
CIE-LCHlch(69.72, 56.78, 112.03°)
OKLaboklab(73.16% -0.0623 0.1207)
OKLCHoklch(73.16% 0.136 117.3)
XYZxyz(32.0952, 40.3516, 11.7269)
Luminance0.4035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B345 #5645B3
analogous
#B38D45 #A2B345 #6BB345
triadic
#A2B345 #45A2B3 #B345A2
tetradic
#A2B345 #45B38D #5645B3 #B3456B
square
#A2B345 #45B38D #5645B3 #B3456B
split-complementary
#A2B345 #456BB3 #8D45B3
monochromatic
#525B23 #7A8734 #A2B345 #B9C76E #CFD89A

Accessibility & contrast

On white

2.32
#A2B345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#A2B345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B345
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B345#FFFFFF#000000##000000
##A2B3451.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA38
Deuteranopia (green-blind)
#BDAB4C
Tritanopia (blue-blind)
#ABAA9C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b345;
/* rgb */ color: rgb(162, 179, 69);
/* oklch */ color: oklch(73.2% 0.136 117.3);
Tailwind
colors: {
  custom: {
    50: '#c0c97d',
    500: '#a2b345',
    950: '#000000',
  },
}
SCSS
$custom: #a2b345;
$custom-light: #c0c97d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b345",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 69.273,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73162,
    "c": 0.13589,
    "h": 117.3
  },
  "luminance": 0.40351
}

Semantic roles & 50–950 ramp

primary
#A2B345
secondary
#988FC4
accent
#54D468
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B345

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

Preview Lab → · Contrast checker → · Palette generator →

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