#A2B237#A2B237

#A2B237 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.8% C 0.145 H 116.6°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#A2B237
RGBrgb(162, 178, 55)
HSLhsl(68, 53%, 46%)
HSVhsv(68, 69%, 70%)
CMYKcmyk(9%, 0%, 69.1%, 30.2%)
CIE-LABlab(69.33, -21.73, 57.99)
CIE-LCHlch(69.33, 61.92, 110.54°)
OKLaboklab(72.81% -0.0649 0.13)
OKLCHoklch(72.81% 0.145 116.6)
XYZxyz(31.5110, 39.7984, 9.6356)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B237 #4737B2
analogous
#B28437 #A2B237 #64B237
triadic
#A2B237 #37A2B2 #B237A2
tetradic
#A2B237 #37B284 #4737B2 #B23764
square
#A2B237 #37B284 #4737B2 #B23764
split-complementary
#A2B237 #3764B2 #8437B2
monochromatic
#4D541A #778329 #A2B237 #BDCC5A #D0DB89

Accessibility & contrast

On white

2.34
#A2B237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#A2B237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B237
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B237#FFFFFF#000000##000000
##A2B2371.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA924
Deuteranopia (green-blind)
#BDAA40
Tritanopia (blue-blind)
#ACA89A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b237;
/* rgb */ color: rgb(162, 178, 55);
/* oklch */ color: oklch(72.8% 0.145 116.6);
Tailwind
colors: {
  custom: {
    50: '#c1c875',
    500: '#a2b237',
    950: '#000000',
  },
}
SCSS
$custom: #a2b237;
$custom-light: #c1c875;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b237",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 67.805,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72811,
    "c": 0.14529,
    "h": 116.6
  },
  "luminance": 0.39798
}

Semantic roles & 50–950 ramp

primary
#A2B237
secondary
#8980C5
accent
#4CDC5E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B237

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

Preview Lab → · Contrast checker → · Palette generator →

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