#238E23#238E23

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

Color values

HEX#238E23
RGBrgb(35, 142, 35)
HSLhsl(120, 60%, 35%)
HSVhsv(120, 75%, 56%)
CMYKcmyk(75.4%, 0%, 75.4%, 44.3%)
CIE-LABlab(51.64, -50.35, 45.70)
CIE-LCHlch(51.64, 68.00, 137.77°)
OKLaboklab(56.66% -0.1367 0.1034)
OKLCHoklch(56.66% 0.171 142.9)
XYZxyz(10.6689, 19.8235, 4.8538)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E23 #8E238E
analogous
#598E23 #238E23 #238E59
triadic
#238E23 #23238E #8E2323
tetradic
#238E23 #23598E #8E238E #8E5923
square
#238E23 #23598E #8E238E #8E5923
split-complementary
#238E23 #59238E #8E2359
monochromatic
#0B2C0B #175D17 #238E23 #2FBF2F #56D556

Accessibility & contrast

On white

4.23
#238E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##238E23#FFFFFF#000000##000000
##238E231.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238e23;
/* rgb */ color: rgb(35, 142, 35);
/* oklch */ color: oklch(56.7% 0.171 142.9);
Tailwind
colors: {
  custom: {
    50: '#70b065',
    500: '#238e23',
    950: '#000000',
  },
}
SCSS
$custom: #238e23;
$custom-light: #70b065;
$custom-dark: #000000;
JSON
{
  "hex": "#238e23",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 120,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56655,
    "c": 0.17137,
    "h": 142.9
  },
  "luminance": 0.19825
}

Semantic roles & 50–950 ramp

primary
#238E23
secondary
#B953B9
accent
#44E4E4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #238E23

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

Preview Lab → · Contrast checker → · Palette generator →

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