#238C2E#238C2E

#238C2E is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.162 H 144.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#238C2E
RGBrgb(35, 140, 46)
HSLhsl(126, 60%, 34%)
HSVhsv(126, 75%, 55%)
CMYKcmyk(75%, 0%, 67.1%, 45.1%)
CIE-LABlab(51.05, -48.60, 40.54)
CIE-LCHlch(51.05, 63.29, 140.16°)
OKLaboklab(56.19% -0.1314 0.0939)
OKLCHoklch(56.19% 0.162 144.4)
XYZxyz(10.5637, 19.3095, 5.7546)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C2E #8C2381
analogous
#4D8C23 #238C2E #238C63
triadic
#238C2E #2E238C #8C2E23
tetradic
#238C2E #234D8C #8C2381 #8C6323
square
#238C2E #234D8C #8C2381 #8C6323
split-complementary
#238C2E #63238C #8C234D
monochromatic
#0B2A0E #175B1E #238C2E #2FBD3E #55D462

Accessibility & contrast

On white

4.32
#238C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#238C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238C2E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238C2E#FFFFFF#000000##000000
##238C2E1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#837636
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238c2e;
/* rgb */ color: rgb(35, 140, 46);
/* oklch */ color: oklch(56.2% 0.162 144.4);
Tailwind
colors: {
  custom: {
    50: '#6faf6b',
    500: '#238c2e',
    950: '#000000',
  },
}
SCSS
$custom: #238c2e;
$custom-light: #6faf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#238c2e",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 126.286,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56194,
    "c": 0.16153,
    "h": 144.4
  },
  "luminance": 0.19311
}

Semantic roles & 50–950 ramp

primary
#238C2E
secondary
#B852AE
accent
#45D3E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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