#238A1F#238A1F

#238A1F is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.169 H 142.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#238A1F
RGBrgb(35, 138, 31)
HSLhsl(118, 63%, 33%)
HSVhsv(118, 78%, 54%)
CMYKcmyk(74.6%, 0%, 77.5%, 45.9%)
CIE-LABlab(50.25, -49.31, 45.79)
CIE-LCHlch(50.25, 67.29, 137.12°)
OKLaboklab(55.5% -0.1341 0.103)
OKLCHoklch(55.5% 0.169 142.5)
XYZxyz(10.0283, 18.6321, 4.3639)
Luminance0.1863 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238A1F #861F8A
analogous
#588A1F #238A1F #1F8A50
triadic
#238A1F #1F238A #8A1F23
tetradic
#238A1F #1F588A #861F8A #8A501F
square
#238A1F #1F588A #861F8A #8A501F
split-complementary
#238A1F #501F8A #8A1F58
monochromatic
#0A2609 #165814 #238A1F #30BC2A #52D74C

Accessibility & contrast

On white

4.44
#238A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#238A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238A1F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238A1F#FFFFFF#000000##000000
##238A1F1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238a1f;
/* rgb */ color: rgb(35, 138, 31);
/* oklch */ color: oklch(55.5% 0.169 142.5);
Tailwind
colors: {
  custom: {
    50: '#70ad63',
    500: '#238a1f',
    950: '#000000',
  },
}
SCSS
$custom: #238a1f;
$custom-light: #70ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#238a1f",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 117.757,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55498,
    "c": 0.16907,
    "h": 142.5
  },
  "luminance": 0.18633
}

Semantic roles & 50–950 ramp

primary
#238A1F
secondary
#B54BBA
accent
#41E6E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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