#A2B638#A2B638

#A2B638 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 73.7% C 0.149 H 118.0°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#A2B638
RGBrgb(162, 182, 56)
HSLhsl(70, 53%, 47%)
HSVhsv(70, 69%, 71%)
CMYKcmyk(11%, 0%, 69.2%, 28.6%)
CIE-LABlab(70.47, -23.65, 58.76)
CIE-LCHlch(70.47, 63.34, 111.92°)
OKLaboklab(73.73% -0.0702 0.1317)
OKLCHoklch(73.73% 0.149 118)
XYZxyz(32.3427, 41.4231, 10.0323)
Luminance0.4142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B638 #4C38B6
analogous
#B68B38 #A2B638 #63B638
triadic
#A2B638 #38A2B6 #B638A2
tetradic
#A2B638 #38B68B #4C38B6 #B63863
square
#A2B638 #38B68B #4C38B6 #B63863
split-complementary
#A2B638 #3863B6 #8B38B6
monochromatic
#4F581B #78872A #A2B638 #BCCD5E #CFDC8D

Accessibility & contrast

On white

2.26
#A2B638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#A2B638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B638
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B638#FFFFFF#000000##000000
##A2B6381.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC24
Deuteranopia (green-blind)
#C0AD42
Tritanopia (blue-blind)
#ACAC9D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a2b638;
/* rgb */ color: rgb(162, 182, 56);
/* oklch */ color: oklch(73.7% 0.149 118.0);
Tailwind
colors: {
  custom: {
    50: '#c1cb76',
    500: '#a2b638',
    950: '#000000',
  },
}
SCSS
$custom: #a2b638;
$custom-light: #c1cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b638",
  "rgb": {
    "r": 162,
    "g": 182,
    "b": 56
  },
  "hsl": {
    "h": 69.524,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73734,
    "c": 0.14927,
    "h": 118
  },
  "luminance": 0.41423
}

Semantic roles & 50–950 ramp

primary
#A2B638
secondary
#8E84C6
accent
#4BDC62
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B638

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

Preview Lab → · Contrast checker → · Palette generator →

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