#22841C#22841C

#22841C is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.164 H 142.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#22841C
RGBrgb(34, 132, 28)
HSLhsl(117, 65%, 31%)
HSVhsv(117, 79%, 52%)
CMYKcmyk(74.2%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.17, -47.67, 44.79)
CIE-LCHlch(48.17, 65.41, 136.79°)
OKLaboklab(53.75% -0.1297 0.1005)
OKLCHoklch(53.75% 0.164 142.2)
XYZxyz(9.1200, 16.9254, 3.8847)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22841C #7E1C84
analogous
#56841C #22841C #1C844A
triadic
#22841C #1C2284 #841C22
tetradic
#22841C #1C5684 #7E1C84 #844A1C
square
#22841C #1C5684 #7E1C84 #844A1C
split-complementary
#22841C #4A1C84 #841C56
monochromatic
#081F07 #155211 #22841C #2FB627 #4CD743

Accessibility & contrast

On white

4.79
#22841C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#22841C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22841C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22841C#FFFFFF#000000##FFFFFF
##22841C1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877703
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#018070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #22841c;
/* rgb */ color: rgb(34, 132, 28);
/* oklch */ color: oklch(53.8% 0.164 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ea960',
    500: '#22841c',
    950: '#000000',
  },
}
SCSS
$custom: #22841c;
$custom-light: #6ea960;
$custom-dark: #000000;
JSON
{
  "hex": "#22841c",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 116.538,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53753,
    "c": 0.1641,
    "h": 142.2
  },
  "luminance": 0.16926
}

Semantic roles & 50–950 ramp

primary
#22841C
secondary
#B145B7
accent
#40E8DE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #22841C

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

Preview Lab → · Contrast checker → · Palette generator →

#22841C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva