#238A1D#238A1D

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

Color values

HEX#238A1D
RGBrgb(35, 138, 29)
HSLhsl(117, 65%, 33%)
HSVhsv(117, 79%, 54%)
CMYKcmyk(74.6%, 0%, 79%, 45.9%)
CIE-LABlab(50.24, -49.46, 46.48)
CIE-LCHlch(50.24, 67.87, 136.78°)
OKLaboklab(55.48% -0.1346 0.1042)
OKLCHoklch(55.48% 0.17 142.3)
XYZxyz(10.0028, 18.6219, 4.2294)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238A1D #841D8A
analogous
#5A8A1D #238A1D #1D8A4D
triadic
#238A1D #1D238A #8A1D23
tetradic
#238A1D #1D5A8A #841D8A #8A4D1D
square
#238A1D #1D5A8A #841D8A #8A4D1D
split-complementary
#238A1D #4D1D8A #8A1D5A
monochromatic
#092508 #165712 #238A1D #30BD28 #51D949

Accessibility & contrast

On white

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

On black

4.72
#238A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238A1D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238A1D#FFFFFF#000000##000000
##238A1D1.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C02
Deuteranopia (green-blind)
#827429
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238a1d;
/* rgb */ color: rgb(35, 138, 29);
/* oklch */ color: oklch(55.5% 0.170 142.3);
Tailwind
colors: {
  custom: {
    50: '#70ad62',
    500: '#238a1d',
    950: '#000000',
  },
}
SCSS
$custom: #238a1d;
$custom-light: #70ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#238a1d",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 116.697,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55485,
    "c": 0.17016,
    "h": 142.3
  },
  "luminance": 0.18623
}

Semantic roles & 50–950 ramp

primary
#238A1D
secondary
#B448BB
accent
#40E8DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #238A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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