#238D1E#238D1E

#238D1E is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.173 H 142.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#238D1E
RGBrgb(35, 141, 30)
HSLhsl(117, 65%, 34%)
HSVhsv(117, 79%, 55%)
CMYKcmyk(75.2%, 0%, 78.7%, 44.7%)
CIE-LABlab(51.27, -50.40, 47.13)
CIE-LCHlch(51.27, 69.00, 136.92°)
OKLaboklab(56.34% -0.137 0.1057)
OKLCHoklch(56.34% 0.173 142.4)
XYZxyz(10.4517, 19.4996, 4.4410)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D1E #881E8D
analogous
#5A8D1E #238D1E #1E8D50
triadic
#238D1E #1E238D #8D1E23
tetradic
#238D1E #1E5A8D #881E8D #8D501E
square
#238D1E #1E5A8D #881E8D #8D501E
split-complementary
#238D1E #501E8D #8D1E5A
monochromatic
#0A2809 #165B13 #238D1E #30BF29 #53D94C

Accessibility & contrast

On white

4.29
#238D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#238D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238D1E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238D1E#FFFFFF#000000##000000
##238D1E1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238d1e;
/* rgb */ color: rgb(35, 141, 30);
/* oklch */ color: oklch(56.3% 0.173 142.4);
Tailwind
colors: {
  custom: {
    50: '#70af63',
    500: '#238d1e',
    950: '#000000',
  },
}
SCSS
$custom: #238d1e;
$custom-light: #70af63;
$custom-dark: #000000;
JSON
{
  "hex": "#238d1e",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 117.297,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56338,
    "c": 0.17306,
    "h": 142.4
  },
  "luminance": 0.19501
}

Semantic roles & 50–950 ramp

primary
#238D1E
secondary
#B74BBC
accent
#40E8E0
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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