#A2CB38#A2CB38

#A2CB38 is a light, vivid yellow-green. Relative luminance 0.507; OKLCH L 78.6% C 0.174 H 124.1°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#A2CB38
RGBrgb(162, 203, 56)
HSLhsl(77, 59%, 51%)
HSVhsv(77, 72%, 80%)
CMYKcmyk(20.2%, 0%, 72.4%, 20.4%)
CIE-LABlab(76.48, -33.65, 64.71)
CIE-LCHlch(76.48, 72.94, 117.48°)
OKLaboklab(78.58% -0.0978 0.1443)
OKLCHoklch(78.58% 0.174 124.1)
XYZxyz(36.9704, 50.6785, 11.5748)
Luminance0.5068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CB38 #6138CB
analogous
#CBAB38 #A2CB38 #58CB38
triadic
#A2CB38 #38A2CB #CB38A2
tetradic
#A2CB38 #38CBAB #6138CB #CB3858
square
#A2CB38 #38CBAB #6138CB #CB3858
split-complementary
#A2CB38 #3858CB #AB38CB
monochromatic
#566C1C #7D9D29 #A2CB38 #B9D869 #CFE499

Accessibility & contrast

On white

1.89
#A2CB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#A2CB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CB38
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CB38#FFFFFF#000000##000000
##A2CB381.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE1C
Deuteranopia (green-blind)
#D1BC45
Tritanopia (blue-blind)
#AAC1AF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a2cb38;
/* rgb */ color: rgb(162, 203, 56);
/* oklch */ color: oklch(78.6% 0.174 124.1);
Tailwind
colors: {
  custom: {
    50: '#c1db78',
    500: '#a2cb38',
    950: '#000000',
  },
}
SCSS
$custom: #a2cb38;
$custom-light: #c1db78;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cb38",
  "rgb": {
    "r": 162,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 76.735,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78582,
    "c": 0.17427,
    "h": 124.1
  },
  "luminance": 0.50679
}

Semantic roles & 50–950 ramp

primary
#A2CB38
secondary
#443176
accent
#46E271
background
#FDFEFB
surface
#F9FBF1
border
#D2D4CB
text
#13150A
muted
#82847D

Preview Lab

Preview with #A2CB38

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

Preview Lab → · Contrast checker → · Palette generator →

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