#238822#238822

#238822 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.165 H 142.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#238822
RGBrgb(35, 136, 34)
HSLhsl(119, 60%, 33%)
HSVhsv(119, 75%, 53%)
CMYKcmyk(74.3%, 0%, 75%, 46.7%)
CIE-LABlab(49.59, -48.39, 44.01)
CIE-LCHlch(49.59, 65.41, 137.71°)
OKLaboklab(54.96% -0.1314 0.0997)
OKLCHoklch(54.96% 0.165 142.8)
XYZxyz(9.7854, 18.0800, 4.4872)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238822 #872288
analogous
#568822 #238822 #228854
triadic
#238822 #222388 #882223
tetradic
#238822 #225688 #872288 #885422
square
#238822 #225688 #872288 #885422
split-complementary
#238822 #542288 #882256
monochromatic
#0A260A #165716 #238822 #30B92E #52D351

Accessibility & contrast

On white

4.55
#238822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#238822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238822
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238822#FFFFFF#000000##000000
##2388221.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0F
Deuteranopia (green-blind)
#80732D
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #238822;
/* rgb */ color: rgb(35, 136, 34);
/* oklch */ color: oklch(55.0% 0.165 142.8);
Tailwind
colors: {
  custom: {
    50: '#6fac64',
    500: '#238822',
    950: '#000000',
  },
}
SCSS
$custom: #238822;
$custom-light: #6fac64;
$custom-dark: #000000;
JSON
{
  "hex": "#238822",
  "rgb": {
    "r": 35,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 119.412,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54956,
    "c": 0.16496,
    "h": 142.8
  },
  "luminance": 0.18081
}

Semantic roles & 50–950 ramp

primary
#238822
secondary
#B64FB7
accent
#45E3E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #238822

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

Preview Lab → · Contrast checker → · Palette generator →

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