#A2B248#A2B248

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

Color values

HEX#A2B248
RGBrgb(162, 178, 72)
HSLhsl(69, 42%, 49%)
HSVhsv(69, 60%, 70%)
CMYKcmyk(9%, 0%, 59.6%, 30.2%)
CIE-LABlab(69.46, -20.57, 51.03)
CIE-LCHlch(69.46, 55.02, 111.96°)
OKLaboklab(72.97% -0.06 0.1177)
OKLCHoklch(72.97% 0.132 117)
XYZxyz(31.9910, 39.9904, 12.1633)
Luminance0.3999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B248 #5848B2
analogous
#B28D48 #A2B248 #6DB248
triadic
#A2B248 #48A2B2 #B248A2
tetradic
#A2B248 #48B28D #5848B2 #B2486D
square
#A2B248 #48B28D #5848B2 #B2486D
split-complementary
#A2B248 #486DB2 #8D48B2
monochromatic
#535B25 #7A8636 #A2B248 #B9C671 #CFD79D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B248#FFFFFF#000000##000000
##A2B2481.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)
#BDA93C
Deuteranopia (green-blind)
#BCAA4F
Tritanopia (blue-blind)
#ABA99B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b248;
/* rgb */ color: rgb(162, 178, 72);
/* oklch */ color: oklch(73.0% 0.132 117.0);
Tailwind
colors: {
  custom: {
    50: '#c0c97f',
    500: '#a2b248',
    950: '#000000',
  },
}
SCSS
$custom: #a2b248;
$custom-light: #c0c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b248",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 69.057,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72965,
    "c": 0.13212,
    "h": 117
  },
  "luminance": 0.3999
}

Semantic roles & 50–950 ramp

primary
#A2B248
secondary
#9992C4
accent
#56D268
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #A2B248

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

Preview Lab → · Contrast checker → · Palette generator →

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