#A2B438#A2B438

#A2B438 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.147 H 117.3°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#A2B438
RGBrgb(162, 180, 56)
HSLhsl(69, 53%, 46%)
HSVhsv(69, 69%, 71%)
CMYKcmyk(10%, 0%, 68.9%, 29.4%)
CIE-LABlab(69.90, -22.66, 58.18)
CIE-LCHlch(69.90, 62.44, 111.28°)
OKLaboklab(73.28% -0.0674 0.1305)
OKLCHoklch(73.28% 0.147 117.3)
XYZxyz(31.9361, 40.6098, 9.8967)
Luminance0.4061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B438 #4A38B4
analogous
#B48838 #A2B438 #64B438
triadic
#A2B438 #38A2B4 #B438A2
tetradic
#A2B438 #38B488 #4A38B4 #B43864
square
#A2B438 #38B488 #4A38B4 #B43864
split-complementary
#A2B438 #3864B4 #8838B4
monochromatic
#4E571B #788529 #A2B438 #BCCD5D #CFDB8B

Accessibility & contrast

On white

2.30
#A2B438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#A2B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B438
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B438#FFFFFF#000000##000000
##A2B4381.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA25
Deuteranopia (green-blind)
#BEAC41
Tritanopia (blue-blind)
#ACAA9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b438;
/* rgb */ color: rgb(162, 180, 56);
/* oklch */ color: oklch(73.3% 0.147 117.3);
Tailwind
colors: {
  custom: {
    50: '#c1ca76',
    500: '#a2b438',
    950: '#000000',
  },
}
SCSS
$custom: #a2b438;
$custom-light: #c1ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b438",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 68.71,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73276,
    "c": 0.14693,
    "h": 117.3
  },
  "luminance": 0.40609
}

Semantic roles & 50–950 ramp

primary
#A2B438
secondary
#8C82C5
accent
#4CDC61
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B438

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

Preview Lab → · Contrast checker → · Palette generator →

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