#A2B148#A2B148

#A2B148 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.7% C 0.131 H 116.6°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#A2B148
RGBrgb(162, 177, 72)
HSLhsl(69, 42%, 49%)
HSVhsv(69, 59%, 69%)
CMYKcmyk(8.5%, 0%, 59.3%, 30.6%)
CIE-LABlab(69.18, -20.07, 50.71)
CIE-LCHlch(69.18, 54.54, 111.59°)
OKLaboklab(72.74% -0.0586 0.117)
OKLCHoklch(72.74% 0.131 116.6)
XYZxyz(31.7927, 39.5939, 12.0972)
Luminance0.3959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B148 #5748B1
analogous
#B18C48 #A2B148 #6EB148
triadic
#A2B148 #48A2B1 #B148A2
tetradic
#A2B148 #48B18C #5748B1 #B1486E
square
#A2B148 #48B18C #5748B1 #B1486E
split-complementary
#A2B148 #486EB1 #8C48B1
monochromatic
#525A25 #7A8536 #A2B148 #B9C571 #CFD79C

Accessibility & contrast

On white

2.35
#A2B148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#A2B148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B148
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B148#FFFFFF#000000##000000
##A2B1481.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83C
Deuteranopia (green-blind)
#BBAA4F
Tritanopia (blue-blind)
#ABA89A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b148;
/* rgb */ color: rgb(162, 177, 72);
/* oklch */ color: oklch(72.7% 0.131 116.6);
Tailwind
colors: {
  custom: {
    50: '#c0c87f',
    500: '#a2b148',
    950: '#000000',
  },
}
SCSS
$custom: #a2b148;
$custom-light: #c0c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b148",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 72
  },
  "hsl": {
    "h": 68.571,
    "s": 42.169,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72738,
    "c": 0.13089,
    "h": 116.6
  },
  "luminance": 0.39594
}

Semantic roles & 50–950 ramp

primary
#A2B148
secondary
#9991C3
accent
#56D268
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #A2B148

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

Preview Lab → · Contrast checker → · Palette generator →

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