#238D2F#238D2F

#238D2F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.162 H 144.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#238D2F
RGBrgb(35, 141, 47)
HSLhsl(127, 60%, 35%)
HSVhsv(127, 75%, 55%)
CMYKcmyk(75.2%, 0%, 66.7%, 44.7%)
CIE-LABlab(51.39, -48.84, 40.48)
CIE-LCHlch(51.39, 63.43, 140.35°)
OKLaboklab(56.49% -0.132 0.0939)
OKLCHoklch(56.49% 0.162 144.6)
XYZxyz(10.7304, 19.6111, 5.9086)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D2F #8D2381
analogous
#4C8D23 #238D2F #238D64
triadic
#238D2F #2F238D #8D2F23
tetradic
#238D2F #234C8D #8D2381 #8D6423
square
#238D2F #234C8D #8D2381 #8D6423
split-complementary
#238D2F #64238D #8D234C
monochromatic
#0B2B0E #175C1F #238D2F #2FBE3F #55D564

Accessibility & contrast

On white

4.27
#238D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#238D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238D2F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238D2F#FFFFFF#000000##000000
##238D2F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#847737
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238d2f;
/* rgb */ color: rgb(35, 141, 47);
/* oklch */ color: oklch(56.5% 0.162 144.6);
Tailwind
colors: {
  custom: {
    50: '#70af6c',
    500: '#238d2f',
    950: '#000000',
  },
}
SCSS
$custom: #238d2f;
$custom-light: #70af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#238d2f",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 126.792,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56485,
    "c": 0.16201,
    "h": 144.6
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#238D2F
secondary
#B953AD
accent
#44D1E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #238D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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