#238C1E#238C1E

#238C1E is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.172 H 142.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#238C1E
RGBrgb(35, 140, 30)
HSLhsl(117, 65%, 33%)
HSVhsv(117, 79%, 55%)
CMYKcmyk(75%, 0%, 78.6%, 45.1%)
CIE-LABlab(50.93, -50.06, 46.80)
CIE-LCHlch(50.93, 68.53, 136.93°)
OKLaboklab(56.06% -0.1361 0.105)
OKLCHoklch(56.06% 0.172 142.4)
XYZxyz(10.3050, 19.2061, 4.3921)
Luminance0.1921 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C1E #871E8C
analogous
#5A8C1E #238C1E #1E8C50
triadic
#238C1E #1E238C #8C1E23
tetradic
#238C1E #1E5A8C #871E8C #8C501E
square
#238C1E #1E5A8C #871E8C #8C501E
split-complementary
#238C1E #501E8C #8C1E5A
monochromatic
#0A2708 #165A13 #238C1E #30BE29 #52D94C

Accessibility & contrast

On white

4.34
#238C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#238C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238C1E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238C1E#FFFFFF#000000##000000
##238C1E1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E03
Deuteranopia (green-blind)
#84762A
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238c1e;
/* rgb */ color: rgb(35, 140, 30);
/* oklch */ color: oklch(56.1% 0.172 142.4);
Tailwind
colors: {
  custom: {
    50: '#70af63',
    500: '#238c1e',
    950: '#000000',
  },
}
SCSS
$custom: #238c1e;
$custom-light: #70af63;
$custom-dark: #000000;
JSON
{
  "hex": "#238c1e",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 117.273,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56056,
    "c": 0.17192,
    "h": 142.4
  },
  "luminance": 0.19207
}

Semantic roles & 50–950 ramp

primary
#238C1E
secondary
#B64BBB
accent
#40E8E0
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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