#238D1A#238D1A

#238D1A is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.175 H 142.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#238D1A
RGBrgb(35, 141, 26)
HSLhsl(115, 69%, 33%)
HSVhsv(115, 82%, 55%)
CMYKcmyk(75.2%, 0%, 81.6%, 44.7%)
CIE-LABlab(51.24, -50.67, 48.42)
CIE-LCHlch(51.24, 70.09, 136.30°)
OKLaboklab(56.31% -0.138 0.1078)
OKLCHoklch(56.31% 0.175 142)
XYZxyz(10.4039, 19.4805, 4.1889)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D1A #841A8D
analogous
#5D8D1A #238D1A #1A8D4A
triadic
#238D1A #1A238D #8D1A23
tetradic
#238D1A #1A5D8D #841A8D #8D4A1A
square
#238D1A #1A5D8D #841A8D #8D4A1A
split-complementary
#238D1A #4A1A8D #8D1A5D
monochromatic
#092607 #165910 #238D1A #30C124 #51DD45

Accessibility & contrast

On white

4.29
#238D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#238D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238D1A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238D1A#FFFFFF#000000##000000
##238D1A1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238d1a;
/* rgb */ color: rgb(35, 141, 26);
/* oklch */ color: oklch(56.3% 0.175 142.0);
Tailwind
colors: {
  custom: {
    50: '#71af61',
    500: '#238d1a',
    950: '#000000',
  },
}
SCSS
$custom: #238d1a;
$custom-light: #71af61;
$custom-dark: #000000;
JSON
{
  "hex": "#238d1a",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 115.304,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56312,
    "c": 0.17508,
    "h": 142
  },
  "luminance": 0.19482
}

Semantic roles & 50–950 ramp

primary
#238D1A
secondary
#B445BE
accent
#3CECDE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #238D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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