#238E1C#238E1C

#238E1C is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.175 H 142.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#238E1C
RGBrgb(35, 142, 28)
HSLhsl(116, 67%, 33%)
HSVhsv(116, 80%, 56%)
CMYKcmyk(75.4%, 0%, 80.3%, 44.3%)
CIE-LABlab(51.59, -50.87, 48.12)
CIE-LCHlch(51.59, 70.02, 136.59°)
OKLaboklab(56.61% -0.1384 0.1074)
OKLCHoklch(56.61% 0.175 142.2)
XYZxyz(10.5751, 19.7860, 4.3601)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E1C #871C8E
analogous
#5C8E1C #238E1C #1C8E4E
triadic
#238E1C #1C238E #8E1C23
tetradic
#238E1C #1C5C8E #871C8E #8E4E1C
square
#238E1C #1C5C8E #871C8E #8E4E1C
split-complementary
#238E1C #4E1C8E #8E1C5C
monochromatic
#0A2808 #165B12 #238E1C #30C126 #52DB49

Accessibility & contrast

On white

4.24
#238E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#238E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238E1C
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238E1C#FFFFFF#000000##000000
##238E1C1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#85782A
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238e1c;
/* rgb */ color: rgb(35, 142, 28);
/* oklch */ color: oklch(56.6% 0.175 142.2);
Tailwind
colors: {
  custom: {
    50: '#71b062',
    500: '#238e1c',
    950: '#000000',
  },
}
SCSS
$custom: #238e1c;
$custom-light: #71b062;
$custom-dark: #000000;
JSON
{
  "hex": "#238e1c",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 116.316,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56606,
    "c": 0.17523,
    "h": 142.2
  },
  "luminance": 0.19787
}

Semantic roles & 50–950 ramp

primary
#238E1C
secondary
#B649BD
accent
#3EEADF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #238E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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