#238222#238222

#238222 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.158 H 142.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#238222
RGBrgb(35, 130, 34)
HSLhsl(119, 59%, 32%)
HSVhsv(119, 74%, 51%)
CMYKcmyk(73.1%, 0%, 73.8%, 49%)
CIE-LABlab(47.54, -46.30, 41.91)
CIE-LCHlch(47.54, 62.45, 137.85°)
OKLaboklab(53.26% -0.1257 0.0953)
OKLCHoklch(53.26% 0.158 142.8)
XYZxyz(8.9640, 16.4371, 4.2133)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238222 #812282
analogous
#538222 #238222 #228251
triadic
#238222 #222382 #822223
tetradic
#238222 #225382 #812282 #825122
square
#238222 #225382 #812282 #825122
split-complementary
#238222 #512282 #822253
monochromatic
#092109 #165115 #238222 #30B32F #4FD14E

Accessibility & contrast

On white

4.90
#238222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#238222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238222
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238222#FFFFFF#000000##FFFFFF
##2382221.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857512
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#047E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #238222;
/* rgb */ color: rgb(35, 130, 34);
/* oklch */ color: oklch(53.3% 0.158 142.8);
Tailwind
colors: {
  custom: {
    50: '#6ea763',
    500: '#238222',
    950: '#000000',
  },
}
SCSS
$custom: #238222;
$custom-light: #6ea763;
$custom-dark: #000000;
JSON
{
  "hex": "#238222",
  "rgb": {
    "r": 35,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 119.375,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53255,
    "c": 0.1578,
    "h": 142.8
  },
  "luminance": 0.16438
}

Semantic roles & 50–950 ramp

primary
#238222
secondary
#B34CB4
accent
#46E2E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #238222

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

Preview Lab → · Contrast checker → · Palette generator →

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