#A2B348#A2B348

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

Color values

HEX#A2B348
RGBrgb(162, 179, 72)
HSLhsl(70, 43%, 49%)
HSVhsv(70, 60%, 70%)
CMYKcmyk(9.5%, 0%, 59.8%, 29.8%)
CIE-LABlab(69.75, -21.07, 51.34)
CIE-LCHlch(69.75, 55.50, 112.31°)
OKLaboklab(73.19% -0.0614 0.1184)
OKLCHoklch(73.19% 0.133 117.4)
XYZxyz(32.1906, 40.3898, 12.2298)
Luminance0.4039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B348 #5948B3
analogous
#B38F48 #A2B348 #6DB348
triadic
#A2B348 #48A2B3 #B348A2
tetradic
#A2B348 #48B38F #5948B3 #B3486D
square
#A2B348 #48B38F #5948B3 #B3486D
split-complementary
#A2B348 #486DB3 #8F48B3
monochromatic
#535C25 #7B8736 #A2B348 #B9C672 #CFD89E

Accessibility & contrast

On white

2.31
#A2B348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#A2B348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B348
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B348#FFFFFF#000000##000000
##A2B3481.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b348;
/* rgb */ color: rgb(162, 179, 72);
/* oklch */ color: oklch(73.2% 0.133 117.4);
Tailwind
colors: {
  custom: {
    50: '#c0c97f',
    500: '#a2b348',
    950: '#000000',
  },
}
SCSS
$custom: #a2b348;
$custom-light: #c0c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b348",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 69.533,
    "s": 42.629,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73192,
    "c": 0.13336,
    "h": 117.4
  },
  "luminance": 0.40389
}

Semantic roles & 50–950 ramp

primary
#A2B348
secondary
#9A92C4
accent
#55D269
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130A
muted
#81827C

Preview Lab

Preview with #A2B348

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

Preview Lab → · Contrast checker → · Palette generator →

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