#238F1E#238F1E

#238F1E is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.175 H 142.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#238F1E
RGBrgb(35, 143, 30)
HSLhsl(117, 65%, 34%)
HSVhsv(117, 79%, 56%)
CMYKcmyk(75.5%, 0%, 79%, 43.9%)
CIE-LABlab(51.94, -51.07, 47.79)
CIE-LCHlch(51.94, 69.94, 136.90°)
OKLaboklab(56.9% -0.1389 0.1071)
OKLCHoklch(56.9% 0.175 142.4)
XYZxyz(10.7493, 20.0948, 4.5402)
Luminance0.2010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F1E #8A1E8F
analogous
#5C8F1E #238F1E #1E8F52
triadic
#238F1E #1E238F #8F1E23
tetradic
#238F1E #1E5C8F #8A1E8F #8F521E
square
#238F1E #1E5C8F #8A1E8F #8F521E
split-complementary
#238F1E #521E8F #8F1E5C
monochromatic
#0A2A09 #175C13 #238F1E #2FC229 #54DA4E

Accessibility & contrast

On white

4.18
#238F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#238F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238F1E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238F1E#FFFFFF#000000##000000
##238F1E1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928101
Deuteranopia (green-blind)
#86792B
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f1e;
/* rgb */ color: rgb(35, 143, 30);
/* oklch */ color: oklch(56.9% 0.175 142.4);
Tailwind
colors: {
  custom: {
    50: '#71b163',
    500: '#238f1e',
    950: '#000000',
  },
}
SCSS
$custom: #238f1e;
$custom-light: #71b163;
$custom-dark: #000000;
JSON
{
  "hex": "#238f1e",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 117.345,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56901,
    "c": 0.17533,
    "h": 142.4
  },
  "luminance": 0.20096
}

Semantic roles & 50–950 ramp

primary
#238F1E
secondary
#B74CBC
accent
#40E8E1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #238F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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