#238D2E#238D2E

#238D2E is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.163 H 144.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#238D2E
RGBrgb(35, 141, 46)
HSLhsl(126, 60%, 35%)
HSVhsv(126, 75%, 55%)
CMYKcmyk(75.2%, 0%, 67.4%, 44.7%)
CIE-LABlab(51.39, -48.95, 40.91)
CIE-LCHlch(51.39, 63.80, 140.11°)
OKLaboklab(56.47% -0.1323 0.0947)
OKLCHoklch(56.47% 0.163 144.4)
XYZxyz(10.7104, 19.6031, 5.8036)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D2E #8D2382
analogous
#4D8D23 #238D2E #238D63
triadic
#238D2E #2E238D #8D2E23
tetradic
#238D2E #234D8D #8D2382 #8D6323
square
#238D2E #234D8D #8D2382 #8D6323
split-complementary
#238D2E #63238D #8D234D
monochromatic
#0B2B0E #175C1E #238D2E #2FBE3E #55D563

Accessibility & contrast

On white

4.27
#238D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#238D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238D2E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238D2E#FFFFFF#000000##000000
##238D2E1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#847737
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238d2e;
/* rgb */ color: rgb(35, 141, 46);
/* oklch */ color: oklch(56.5% 0.163 144.4);
Tailwind
colors: {
  custom: {
    50: '#70af6b',
    500: '#238d2e',
    950: '#000000',
  },
}
SCSS
$custom: #238d2e;
$custom-light: #70af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#238d2e",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 126.226,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56474,
    "c": 0.16275,
    "h": 144.4
  },
  "luminance": 0.19604
}

Semantic roles & 50–950 ramp

primary
#238D2E
secondary
#B953AE
accent
#44D3E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #238D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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