#238E1F#238E1F

#238E1F is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.174 H 142.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#238E1F
RGBrgb(35, 142, 31)
HSLhsl(118, 64%, 34%)
HSVhsv(118, 78%, 56%)
CMYKcmyk(75.4%, 0%, 78.2%, 44.3%)
CIE-LABlab(51.61, -50.66, 47.12)
CIE-LCHlch(51.61, 69.19, 137.07°)
OKLaboklab(56.63% -0.1377 0.1058)
OKLCHoklch(56.63% 0.174 142.5)
XYZxyz(10.6128, 19.8011, 4.5587)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E1F #8A1F8E
analogous
#5B8E1F #238E1F #1F8E53
triadic
#238E1F #1F238E #8E1F23
tetradic
#238E1F #1F5B8E #8A1F8E #8E531F
square
#238E1F #1F5B8E #8A1F8E #8E531F
split-complementary
#238E1F #531F8E #8E1F5B
monochromatic
#0A2A09 #175C14 #238E1F #2FC02A #54D94F

Accessibility & contrast

On white

4.23
#238E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#238E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238E1F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238E1F#FFFFFF#000000##000000
##238E1F1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918004
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238e1f;
/* rgb */ color: rgb(35, 142, 31);
/* oklch */ color: oklch(56.6% 0.174 142.5);
Tailwind
colors: {
  custom: {
    50: '#71b063',
    500: '#238e1f',
    950: '#000000',
  },
}
SCSS
$custom: #238e1f;
$custom-light: #71b063;
$custom-dark: #000000;
JSON
{
  "hex": "#238e1f",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 117.838,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56626,
    "c": 0.17367,
    "h": 142.5
  },
  "luminance": 0.19802
}

Semantic roles & 50–950 ramp

primary
#238E1F
secondary
#B74DBB
accent
#41E7E1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #238E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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