#238A2E#238A2E

#238A2E is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.159 H 144.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#238A2E
RGBrgb(35, 138, 46)
HSLhsl(126, 60%, 34%)
HSVhsv(126, 75%, 54%)
CMYKcmyk(74.6%, 0%, 66.7%, 45.9%)
CIE-LABlab(50.37, -47.90, 39.80)
CIE-LCHlch(50.37, 62.28, 140.28°)
OKLaboklab(55.63% -0.1295 0.0924)
OKLCHoklch(55.63% 0.159 144.5)
XYZxyz(10.2741, 18.7304, 5.6581)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238A2E #8A237F
analogous
#4C8A23 #238A2E #238A62
triadic
#238A2E #2E238A #8A2E23
tetradic
#238A2E #234C8A #8A237F #8A6223
square
#238A2E #234C8A #8A237F #8A6223
split-complementary
#238A2E #62238A #8A234C
monochromatic
#0A280D #17591E #238A2E #2FBB3E #54D461

Accessibility & contrast

On white

4.42
#238A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#238A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238A2E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238A2E#FFFFFF#000000##000000
##238A2E1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D23
Deuteranopia (green-blind)
#817536
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238a2e;
/* rgb */ color: rgb(35, 138, 46);
/* oklch */ color: oklch(55.6% 0.159 144.5);
Tailwind
colors: {
  custom: {
    50: '#6fad6b',
    500: '#238a2e',
    950: '#000000',
  },
}
SCSS
$custom: #238a2e;
$custom-light: #6fad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#238a2e",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 126.408,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55632,
    "c": 0.15906,
    "h": 144.5
  },
  "luminance": 0.18732
}

Semantic roles & 50–950 ramp

primary
#238A2E
secondary
#B751AD
accent
#45D2E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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