#238F22#238F22

#238F22 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.173 H 142.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#238F22
RGBrgb(35, 143, 34)
HSLhsl(119, 62%, 35%)
HSVhsv(119, 76%, 56%)
CMYKcmyk(75.5%, 0%, 76.2%, 43.9%)
CIE-LABlab(51.97, -50.76, 46.41)
CIE-LCHlch(51.97, 68.78, 137.57°)
OKLaboklab(56.93% -0.1378 0.1047)
OKLCHoklch(56.93% 0.173 142.8)
XYZxyz(10.8037, 20.1165, 4.8266)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F22 #8E228F
analogous
#598F22 #238F22 #228F58
triadic
#238F22 #22238F #8F2223
tetradic
#238F22 #22598F #8E228F #8F5822
square
#238F22 #22598F #8E228F #8F5822
split-complementary
#238F22 #58228F #8F2259
monochromatic
#0B2C0A #175E16 #238F22 #2FC02E #56D755

Accessibility & contrast

On white

4.18
#238F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#238F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238F22
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238F22#FFFFFF#000000##000000
##238F221.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f22;
/* rgb */ color: rgb(35, 143, 34);
/* oklch */ color: oklch(56.9% 0.173 142.8);
Tailwind
colors: {
  custom: {
    50: '#71b165',
    500: '#238f22',
    950: '#000000',
  },
}
SCSS
$custom: #238f22;
$custom-light: #71b165;
$custom-dark: #000000;
JSON
{
  "hex": "#238f22",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 119.45,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56929,
    "c": 0.17312,
    "h": 142.8
  },
  "luminance": 0.20118
}

Semantic roles & 50–950 ramp

primary
#238F22
secondary
#B952BA
accent
#43E5E3
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #238F22

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

Preview Lab → · Contrast checker → · Palette generator →

#238F22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva