#238A2F#238A2F

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

Color values

HEX#238A2F
RGBrgb(35, 138, 47)
HSLhsl(127, 60%, 34%)
HSVhsv(127, 75%, 54%)
CMYKcmyk(74.6%, 0%, 65.9%, 45.9%)
CIE-LABlab(50.38, -47.79, 39.36)
CIE-LCHlch(50.38, 61.91, 140.53°)
OKLaboklab(55.64% -0.1291 0.0915)
OKLCHoklch(55.64% 0.158 144.7)
XYZxyz(10.2940, 18.7384, 5.7631)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238A2F #8A237E
analogous
#4B8A23 #238A2F #238A63
triadic
#238A2F #2F238A #8A2F23
tetradic
#238A2F #234B8A #8A237E #8A6323
square
#238A2F #234B8A #8A237E #8A6323
split-complementary
#238A2F #63238A #8A234B
monochromatic
#0A280E #17591E #238A2F #2FBB40 #54D463

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238A2F#FFFFFF#000000##000000
##238A2F1.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)
#8C7D24
Deuteranopia (green-blind)
#817537
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238a2f;
/* rgb */ color: rgb(35, 138, 47);
/* oklch */ color: oklch(55.6% 0.158 144.7);
Tailwind
colors: {
  custom: {
    50: '#6fad6c',
    500: '#238a2f',
    950: '#000000',
  },
}
SCSS
$custom: #238a2f;
$custom-light: #6fad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#238a2f",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 126.99,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55643,
    "c": 0.1583,
    "h": 144.7
  },
  "luminance": 0.1874
}

Semantic roles & 50–950 ramp

primary
#238A2F
secondary
#B751AC
accent
#45D0E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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