#A2B245#A2B245

#A2B245 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.9% C 0.135 H 116.9°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#A2B245
RGBrgb(162, 178, 69)
HSLhsl(69, 44%, 48%)
HSVhsv(69, 61%, 70%)
CMYKcmyk(9%, 0%, 61.2%, 30.2%)
CIE-LABlab(69.44, -20.80, 52.33)
CIE-LCHlch(69.44, 56.31, 111.68°)
OKLaboklab(72.93% -0.061 0.1201)
OKLCHoklch(72.93% 0.135 116.9)
XYZxyz(31.8955, 39.9522, 11.6604)
Luminance0.3995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B245 #5545B2
analogous
#B28B45 #A2B245 #6BB245
triadic
#A2B245 #45A2B2 #B245A2
tetradic
#A2B245 #45B28B #5545B2 #B2456B
square
#A2B245 #45B28B #5545B2 #B2456B
split-complementary
#A2B245 #456BB2 #8B45B2
monochromatic
#525A23 #7A8634 #A2B245 #BAC76E #CFD89A

Accessibility & contrast

On white

2.34
#A2B245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#A2B245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B245
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B245#FFFFFF#000000##000000
##A2B2451.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA938
Deuteranopia (green-blind)
#BCAA4C
Tritanopia (blue-blind)
#ABA99B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b245;
/* rgb */ color: rgb(162, 178, 69);
/* oklch */ color: oklch(72.9% 0.135 116.9);
Tailwind
colors: {
  custom: {
    50: '#c0c97d',
    500: '#a2b245',
    950: '#000000',
  },
}
SCSS
$custom: #a2b245;
$custom-light: #c0c97d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b245",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 68.807,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72934,
    "c": 0.13468,
    "h": 116.9
  },
  "luminance": 0.39952
}

Semantic roles & 50–950 ramp

primary
#A2B245
secondary
#978FC4
accent
#54D467
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B245

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

Preview Lab → · Contrast checker → · Palette generator →

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