#238C30#238C30

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

Color values

HEX#238C30
RGBrgb(35, 140, 48)
HSLhsl(127, 60%, 34%)
HSVhsv(127, 75%, 55%)
CMYKcmyk(75%, 0%, 65.7%, 45.1%)
CIE-LABlab(51.07, -48.38, 39.66)
CIE-LCHlch(51.07, 62.56, 140.65°)
OKLaboklab(56.22% -0.1307 0.0923)
OKLCHoklch(56.22% 0.16 144.8)
XYZxyz(10.6040, 19.3257, 5.9671)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C30 #8C237F
analogous
#4A8C23 #238C30 #238C65
triadic
#238C30 #30238C #8C3023
tetradic
#238C30 #234A8C #8C237F #8C6523
square
#238C30 #234A8C #8C237F #8C6523
split-complementary
#238C30 #65238C #8C234A
monochromatic
#0B2A0E #175B1F #238C30 #2FBD41 #55D465

Accessibility & contrast

On white

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

On black

4.87
#238C30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238C30
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238C30#FFFFFF#000000##000000
##238C301.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #238c30;
/* rgb */ color: rgb(35, 140, 48);
/* oklch */ color: oklch(56.2% 0.160 144.8);
Tailwind
colors: {
  custom: {
    50: '#6faf6c',
    500: '#238c30',
    950: '#000000',
  },
}
SCSS
$custom: #238c30;
$custom-light: #6faf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#238c30",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 48
  },
  "hsl": {
    "h": 127.429,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56215,
    "c": 0.16,
    "h": 144.8
  },
  "luminance": 0.19327
}

Semantic roles & 50–950 ramp

primary
#238C30
secondary
#B852AC
accent
#45D0E3
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238C30

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

Preview Lab → · Contrast checker → · Palette generator →

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