#1A8223#1A8223

#1A8223 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.160 H 143.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#1A8223
RGBrgb(26, 130, 35)
HSLhsl(125, 67%, 31%)
HSVhsv(125, 80%, 51%)
CMYKcmyk(80%, 0%, 73.1%, 49%)
CIE-LABlab(47.37, -47.72, 41.27)
CIE-LCHlch(47.37, 63.09, 139.15°)
OKLaboklab(53.06% -0.1291 0.0942)
OKLCHoklch(53.06% 0.16 143.9)
XYZxyz(8.7114, 16.3052, 4.2779)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8223 #821A79
analogous
#45821A #1A8223 #1A8257
triadic
#1A8223 #231A82 #82231A
tetradic
#1A8223 #1A4582 #821A79 #82571A
square
#1A8223 #1A4582 #821A79 #82571A
split-complementary
#1A8223 #571A82 #821A45
monochromatic
#061C08 #104F15 #1A8223 #24B531 #3ED84B

Accessibility & contrast

On white

4.93
#1A8223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#1A8223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8223
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8223#FFFFFF#000000##FFFFFF
##1A82231.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857514
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1a8223;
/* rgb */ color: rgb(26, 130, 35);
/* oklch */ color: oklch(53.1% 0.160 143.9);
Tailwind
colors: {
  custom: {
    50: '#6aa764',
    500: '#1a8223',
    950: '#000000',
  },
}
SCSS
$custom: #1a8223;
$custom-light: #6aa764;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8223",
  "rgb": {
    "r": 26,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 125.192,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53064,
    "c": 0.15981,
    "h": 143.9
  },
  "luminance": 0.16306
}

Semantic roles & 50–950 ramp

primary
#1A8223
secondary
#B642AC
accent
#3EDBEA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #1A8223

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

Preview Lab → · Contrast checker → · Palette generator →

#1A8223 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva