#238F31#238F31

#238F31 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.163 H 144.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#238F31
RGBrgb(35, 143, 49)
HSLhsl(128, 61%, 35%)
HSVhsv(128, 76%, 56%)
CMYKcmyk(75.5%, 0%, 65.7%, 43.9%)
CIE-LABlab(52.09, -49.31, 40.35)
CIE-LCHlch(52.09, 63.71, 140.71°)
OKLaboklab(57.07% -0.1332 0.0939)
OKLCHoklch(57.07% 0.163 144.8)
XYZxyz(11.0692, 20.2227, 6.2251)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F31 #8F2381
analogous
#4B8F23 #238F31 #238F67
triadic
#238F31 #31238F #8F3123
tetradic
#238F31 #234B8F #8F2381 #8F6723
square
#238F31 #234B8F #8F2381 #8F6723
split-complementary
#238F31 #67238F #8F234B
monochromatic
#0B2D0F #175E20 #238F31 #2FC042 #57D667

Accessibility & contrast

On white

4.16
#238F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#238F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238F31
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238F31#FFFFFF#000000##000000
##238F311.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928126
Deuteranopia (green-blind)
#857939
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f31;
/* rgb */ color: rgb(35, 143, 49);
/* oklch */ color: oklch(57.1% 0.163 144.8);
Tailwind
colors: {
  custom: {
    50: '#70b16d',
    500: '#238f31',
    950: '#000000',
  },
}
SCSS
$custom: #238f31;
$custom-light: #70b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#238f31",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 127.778,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57066,
    "c": 0.16294,
    "h": 144.8
  },
  "luminance": 0.20224
}

Semantic roles & 50–950 ramp

primary
#238F31
secondary
#BA54AD
accent
#44CFE4
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #238F31

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

Preview Lab → · Contrast checker → · Palette generator →

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