#238E2F#238E2F

#238E2F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.163 H 144.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#238E2F
RGBrgb(35, 142, 47)
HSLhsl(127, 60%, 35%)
HSVhsv(127, 75%, 56%)
CMYKcmyk(75.4%, 0%, 66.9%, 44.3%)
CIE-LABlab(51.73, -49.19, 40.85)
CIE-LCHlch(51.73, 63.94, 140.29°)
OKLaboklab(56.77% -0.133 0.0947)
OKLCHoklch(56.77% 0.163 144.5)
XYZxyz(10.8785, 19.9073, 5.9580)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E2F #8E2382
analogous
#4D8E23 #238E2F #238E65
triadic
#238E2F #2F238E #8E2F23
tetradic
#238E2F #234D8E #8E2382 #8E6523
square
#238E2F #234D8E #8E2382 #8E6523
split-complementary
#238E2F #65238E #8E234D
monochromatic
#0B2C0E #175D1F #238E2F #2FBF3F #56D564

Accessibility & contrast

On white

4.22
#238E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#238E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238E2F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238E2F#FFFFFF#000000##000000
##238E2F1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918023
Deuteranopia (green-blind)
#847838
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238e2f;
/* rgb */ color: rgb(35, 142, 47);
/* oklch */ color: oklch(56.8% 0.163 144.5);
Tailwind
colors: {
  custom: {
    50: '#70b06c',
    500: '#238e2f',
    950: '#000000',
  },
}
SCSS
$custom: #238e2f;
$custom-light: #70b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#238e2f",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 126.729,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56765,
    "c": 0.16323,
    "h": 144.5
  },
  "luminance": 0.19909
}

Semantic roles & 50–950 ramp

primary
#238E2F
secondary
#B953AE
accent
#44D2E4
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #238E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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