#238C2F#238C2F

#238C2F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.161 H 144.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#238C2F
RGBrgb(35, 140, 47)
HSLhsl(127, 60%, 34%)
HSVhsv(127, 75%, 55%)
CMYKcmyk(75%, 0%, 66.4%, 45.1%)
CIE-LABlab(51.06, -48.49, 40.11)
CIE-LCHlch(51.06, 62.93, 140.41°)
OKLaboklab(56.21% -0.1311 0.0931)
OKLCHoklch(56.21% 0.161 144.6)
XYZxyz(10.5836, 19.3175, 5.8597)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C2F #8C2380
analogous
#4C8C23 #238C2F #238C64
triadic
#238C2F #2F238C #8C2F23
tetradic
#238C2F #234C8C #8C2380 #8C6423
square
#238C2F #234C8C #8C2380 #8C6423
split-complementary
#238C2F #64238C #8C234C
monochromatic
#0B2A0E #175B1F #238C2F #2FBD3F #55D463

Accessibility & contrast

On white

4.32
#238C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#238C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238C2F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238C2F#FFFFFF#000000##000000
##238C2F1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#837637
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238c2f;
/* rgb */ color: rgb(35, 140, 47);
/* oklch */ color: oklch(56.2% 0.161 144.6);
Tailwind
colors: {
  custom: {
    50: '#6faf6c',
    500: '#238c2f',
    950: '#000000',
  },
}
SCSS
$custom: #238c2f;
$custom-light: #6faf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#238c2f",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 126.857,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.16077,
    "h": 144.6
  },
  "luminance": 0.19319
}

Semantic roles & 50–950 ramp

primary
#238C2F
secondary
#B852AD
accent
#45D1E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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