#238018#238018

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

Color values

HEX#238018
RGBrgb(35, 128, 24)
HSLhsl(114, 68%, 30%)
HSVhsv(114, 81%, 50%)
CMYKcmyk(72.7%, 0%, 81.3%, 49.8%)
CIE-LABlab(46.79, -46.39, 44.83)
CIE-LCHlch(46.79, 64.51, 135.98°)
OKLaboklab(52.61% -0.1265 0.1)
OKLCHoklch(52.61% 0.161 141.7)
XYZxyz(8.5767, 15.8607, 3.4734)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238018 #751880
analogous
#578018 #238018 #188041
triadic
#238018 #182380 #801823
tetradic
#238018 #185780 #751880 #804118
square
#238018 #185780 #751880 #804118
split-complementary
#238018 #411880 #801857
monochromatic
#071A05 #154C0E #238018 #31B422 #4ADA39

Accessibility & contrast

On white

5.03
#238018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#238018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238018
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238018#FFFFFF#000000##FFFFFF
##2380181.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#0A7C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #238018;
/* rgb */ color: rgb(35, 128, 24);
/* oklch */ color: oklch(52.6% 0.161 141.7);
Tailwind
colors: {
  custom: {
    50: '#6ea65e',
    500: '#238018',
    950: '#000000',
  },
}
SCSS
$custom: #238018;
$custom-light: #6ea65e;
$custom-dark: #000000;
JSON
{
  "hex": "#238018",
  "rgb": {
    "r": 35,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 113.654,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5261,
    "c": 0.16125,
    "h": 141.7
  },
  "luminance": 0.15862
}

Semantic roles & 50–950 ramp

primary
#238018
secondary
#A840B4
accent
#3DEBD9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #238018

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

Preview Lab → · Contrast checker → · Palette generator →

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