#A2B247#A2B247

#A2B247 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.0% C 0.133 H 117.0°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#A2B247
RGBrgb(162, 178, 71)
HSLhsl(69, 43%, 49%)
HSVhsv(69, 60%, 70%)
CMYKcmyk(9%, 0%, 60.1%, 30.2%)
CIE-LABlab(69.45, -20.65, 51.46)
CIE-LCHlch(69.45, 55.45, 111.86°)
OKLaboklab(72.95% -0.0603 0.1185)
OKLCHoklch(72.95% 0.133 117)
XYZxyz(31.9586, 39.9775, 11.9929)
Luminance0.3998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B247 #5747B2
analogous
#B28D47 #A2B247 #6DB247
triadic
#A2B247 #47A2B2 #B247A2
tetradic
#A2B247 #47B28D #5747B2 #B2476D
square
#A2B247 #47B28D #5747B2 #B2476D
split-complementary
#A2B247 #476DB2 #8D47B2
monochromatic
#525B24 #7A8636 #A2B247 #B9C670 #CFD79C

Accessibility & contrast

On white

2.33
#A2B247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#A2B247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B247
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B247#FFFFFF#000000##000000
##A2B2471.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b247;
/* rgb */ color: rgb(162, 178, 71);
/* oklch */ color: oklch(73.0% 0.133 117.0);
Tailwind
colors: {
  custom: {
    50: '#c0c97f',
    500: '#a2b247',
    950: '#000000',
  },
}
SCSS
$custom: #a2b247;
$custom-light: #c0c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b247",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 71
  },
  "hsl": {
    "h": 68.972,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72954,
    "c": 0.13298,
    "h": 117
  },
  "luminance": 0.39977
}

Semantic roles & 50–950 ramp

primary
#A2B247
secondary
#9991C4
accent
#55D368
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B247

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

Preview Lab → · Contrast checker → · Palette generator →

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