#238118#238118

#238118 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.162 H 141.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#238118
RGBrgb(35, 129, 24)
HSLhsl(114, 69%, 30%)
HSVhsv(114, 81%, 51%)
CMYKcmyk(72.9%, 0%, 81.4%, 49.4%)
CIE-LABlab(47.14, -46.73, 45.16)
CIE-LCHlch(47.14, 64.99, 135.98°)
OKLaboklab(52.9% -0.1274 0.1007)
OKLCHoklch(52.9% 0.162 141.7)
XYZxyz(8.7078, 16.1228, 3.5171)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238118 #761881
analogous
#588118 #238118 #188141
triadic
#238118 #182381 #811823
tetradic
#238118 #185881 #761881 #814118
square
#238118 #185881 #761881 #814118
split-complementary
#238118 #411881 #811858
monochromatic
#071A05 #154D0E #238118 #31B522 #4ADA39

Accessibility & contrast

On white

4.97
#238118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#238118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238118
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238118#FFFFFF#000000##FFFFFF
##2381181.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#097D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #238118;
/* rgb */ color: rgb(35, 129, 24);
/* oklch */ color: oklch(52.9% 0.162 141.7);
Tailwind
colors: {
  custom: {
    50: '#6ea75e',
    500: '#238118',
    950: '#000000',
  },
}
SCSS
$custom: #238118;
$custom-light: #6ea75e;
$custom-dark: #000000;
JSON
{
  "hex": "#238118",
  "rgb": {
    "r": 35,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 113.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52896,
    "c": 0.16241,
    "h": 141.7
  },
  "luminance": 0.16124
}

Semantic roles & 50–950 ramp

primary
#238118
secondary
#A940B5
accent
#3CEBD9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #238118

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

Preview Lab → · Contrast checker → · Palette generator →

#238118 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva