#238E2D#238E2D

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

Color values

HEX#238E2D
RGBrgb(35, 142, 45)
HSLhsl(126, 60%, 35%)
HSVhsv(126, 75%, 56%)
CMYKcmyk(75.4%, 0%, 68.3%, 44.3%)
CIE-LABlab(51.71, -49.40, 41.71)
CIE-LCHlch(51.71, 64.66, 139.83°)
OKLaboklab(56.74% -0.1336 0.0963)
OKLCHoklch(56.74% 0.165 144.2)
XYZxyz(10.8391, 19.8916, 5.7503)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E2D #8E2384
analogous
#4F8E23 #238E2D #238E62
triadic
#238E2D #2D238E #8E2D23
tetradic
#238E2D #234F8E #8E2384 #8E6223
square
#238E2D #234F8E #8E2384 #8E6223
split-complementary
#238E2D #62238E #8E234F
monochromatic
#0B2C0E #175D1D #238E2D #2FBF3D #56D562

Accessibility & contrast

On white

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

On black

4.98
#238E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238E2D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238E2D#FFFFFF#000000##000000
##238E2D1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918020
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238e2d;
/* rgb */ color: rgb(35, 142, 45);
/* oklch */ color: oklch(56.7% 0.165 144.2);
Tailwind
colors: {
  custom: {
    50: '#70b06b',
    500: '#238e2d',
    950: '#000000',
  },
}
SCSS
$custom: #238e2d;
$custom-light: #70b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#238e2d",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 125.607,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56744,
    "c": 0.16471,
    "h": 144.2
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#238E2D
secondary
#B953B0
accent
#44D5E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #238E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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