#238E2A#238E2A

#238E2A is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.167 H 143.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#238E2A
RGBrgb(35, 142, 42)
HSLhsl(124, 60%, 35%)
HSVhsv(124, 75%, 56%)
CMYKcmyk(75.4%, 0%, 70.4%, 44.3%)
CIE-LABlab(51.69, -49.71, 42.97)
CIE-LCHlch(51.69, 65.71, 139.16°)
OKLaboklab(56.72% -0.1346 0.0986)
OKLCHoklch(56.72% 0.167 143.8)
XYZxyz(10.7834, 19.8693, 5.4569)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E2A #8E2387
analogous
#528E23 #238E2A #238E5F
triadic
#238E2A #2A238E #8E2A23
tetradic
#238E2A #23528E #8E2387 #8E5F23
square
#238E2A #23528E #8E2387 #8E5F23
split-complementary
#238E2A #5F238E #8E2352
monochromatic
#0B2C0D #175D1B #238E2A #2FBF39 #56D55E

Accessibility & contrast

On white

4.22
#238E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#238E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238E2A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238E2A#FFFFFF#000000##000000
##238E2A1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801B
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238e2a;
/* rgb */ color: rgb(35, 142, 42);
/* oklch */ color: oklch(56.7% 0.167 143.8);
Tailwind
colors: {
  custom: {
    50: '#70b069',
    500: '#238e2a',
    950: '#000000',
  },
}
SCSS
$custom: #238e2a;
$custom-light: #70b069;
$custom-dark: #000000;
JSON
{
  "hex": "#238e2a",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 123.925,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56715,
    "c": 0.16685,
    "h": 143.8
  },
  "luminance": 0.1987
}

Semantic roles & 50–950 ramp

primary
#238E2A
secondary
#B953B3
accent
#44D9E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #238E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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