#238F28#238F28

#238F28 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.169 H 143.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#238F28
RGBrgb(35, 143, 40)
HSLhsl(123, 61%, 35%)
HSVhsv(123, 76%, 56%)
CMYKcmyk(75.5%, 0%, 72%, 43.9%)
CIE-LABlab(52.01, -50.25, 44.13)
CIE-LCHlch(52.01, 66.87, 138.71°)
OKLaboklab(56.98% -0.1361 0.1008)
OKLCHoklch(56.98% 0.169 143.5)
XYZxyz(10.8979, 20.1542, 5.3229)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F28 #8F238A
analogous
#548F23 #238F28 #238F5E
triadic
#238F28 #28238F #8F2823
tetradic
#238F28 #23548F #8F238A #8F5E23
square
#238F28 #23548F #8F238A #8F5E23
split-complementary
#238F28 #5E238F #8F2354
monochromatic
#0B2D0C #175E1A #238F28 #2FC036 #57D65D

Accessibility & contrast

On white

4.17
#238F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#238F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238F28
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238F28#FFFFFF#000000##000000
##238F281.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #238f28;
/* rgb */ color: rgb(35, 143, 40);
/* oklch */ color: oklch(57.0% 0.169 143.5);
Tailwind
colors: {
  custom: {
    50: '#70b168',
    500: '#238f28',
    950: '#000000',
  },
}
SCSS
$custom: #238f28;
$custom-light: #70b168;
$custom-dark: #000000;
JSON
{
  "hex": "#238f28",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 122.778,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56978,
    "c": 0.16939,
    "h": 143.5
  },
  "luminance": 0.20155
}

Semantic roles & 50–950 ramp

primary
#238F28
secondary
#BA54B5
accent
#44DCE4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #238F28

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

Preview Lab → · Contrast checker → · Palette generator →

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