#238F38#238F38

#238F38 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.157 H 146.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#238F38
RGBrgb(35, 143, 56)
HSLhsl(132, 61%, 35%)
HSVhsv(132, 76%, 56%)
CMYKcmyk(75.5%, 0%, 60.8%, 43.9%)
CIE-LABlab(52.16, -48.45, 37.15)
CIE-LCHlch(52.16, 61.06, 142.52°)
OKLaboklab(57.15% -0.1306 0.0877)
OKLCHoklch(57.15% 0.157 146.1)
XYZxyz(11.2286, 20.2865, 7.0645)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F38 #8F237A
analogous
#448F23 #238F38 #238F6E
triadic
#238F38 #38238F #8F3823
tetradic
#238F38 #23448F #8F237A #8F6E23
square
#238F38 #23448F #8F237A #8F6E23
split-complementary
#238F38 #6E238F #8F2344
monochromatic
#0B2D11 #175E25 #238F38 #2FC04B #57D66F

Accessibility & contrast

On white

4.15
#238F38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#238F38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238F38
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238F38#FFFFFF#000000##000000
##238F381.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91822F
Deuteranopia (green-blind)
#85793F
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f38;
/* rgb */ color: rgb(35, 143, 56);
/* oklch */ color: oklch(57.1% 0.157 146.1);
Tailwind
colors: {
  custom: {
    50: '#70b172',
    500: '#238f38',
    950: '#000000',
  },
}
SCSS
$custom: #238f38;
$custom-light: #70b172;
$custom-dark: #000000;
JSON
{
  "hex": "#238f38",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 56
  },
  "hsl": {
    "h": 131.667,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57148,
    "c": 0.1573,
    "h": 146.1
  },
  "luminance": 0.20288
}

Semantic roles & 50–950 ramp

primary
#238F38
secondary
#BA54A6
accent
#44C5E4
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #238F38

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

Preview Lab → · Contrast checker → · Palette generator →

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