#A2B738#A2B738

#A2B738 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.0% C 0.150 H 118.4°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#A2B738
RGBrgb(162, 183, 56)
HSLhsl(70, 53%, 47%)
HSVhsv(70, 69%, 72%)
CMYKcmyk(11.5%, 0%, 69.4%, 28.2%)
CIE-LABlab(70.76, -24.14, 59.04)
CIE-LCHlch(70.76, 63.79, 112.24°)
OKLaboklab(73.96% -0.0715 0.1323)
OKLCHoklch(73.96% 0.15 118.4)
XYZxyz(32.5482, 41.8342, 10.1008)
Luminance0.4183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B738 #4D38B7
analogous
#B78D38 #A2B738 #63B738
triadic
#A2B738 #38A2B7 #B738A2
tetradic
#A2B738 #38B78D #4D38B7 #B73863
square
#A2B738 #38B78D #4D38B7 #B73863
split-complementary
#A2B738 #3863B7 #8D38B7
monochromatic
#4F591B #79882A #A2B738 #BBCE5E #CFDC8D

Accessibility & contrast

On white

2.24
#A2B738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#A2B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B738
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B738#FFFFFF#000000##000000
##A2B7381.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD24
Deuteranopia (green-blind)
#C1AE42
Tritanopia (blue-blind)
#ACAD9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a2b738;
/* rgb */ color: rgb(162, 183, 56);
/* oklch */ color: oklch(74.0% 0.150 118.4);
Tailwind
colors: {
  custom: {
    50: '#c1cc76',
    500: '#a2b738',
    950: '#000000',
  },
}
SCSS
$custom: #a2b738;
$custom-light: #c1cc76;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b738",
  "rgb": {
    "r": 162,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 69.921,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73963,
    "c": 0.15044,
    "h": 118.4
  },
  "luminance": 0.41834
}

Semantic roles & 50–950 ramp

primary
#A2B738
secondary
#8F84C7
accent
#4BDD63
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B738

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

Preview Lab → · Contrast checker → · Palette generator →

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