#238F23#238F23

#238F23 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.173 H 142.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#238F23
RGBrgb(35, 143, 35)
HSLhsl(120, 61%, 35%)
HSVhsv(120, 76%, 56%)
CMYKcmyk(75.5%, 0%, 75.5%, 43.9%)
CIE-LABlab(51.98, -50.68, 46.04)
CIE-LCHlch(51.98, 68.47, 137.75°)
OKLaboklab(56.94% -0.1376 0.1041)
OKLCHoklch(56.94% 0.173 142.9)
XYZxyz(10.8183, 20.1224, 4.9036)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F23 #8F238F
analogous
#598F23 #238F23 #238F59
triadic
#238F23 #23238F #8F2323
tetradic
#238F23 #23598F #8F238F #8F5923
square
#238F23 #23598F #8F238F #8F5923
split-complementary
#238F23 #59238F #8F2359
monochromatic
#0B2D0B #175E17 #238F23 #2FC02F #57D657

Accessibility & contrast

On white

4.18
#238F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#238F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238F23
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238F23#FFFFFF#000000##000000
##238F231.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#86792F
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f23;
/* rgb */ color: rgb(35, 143, 35);
/* oklch */ color: oklch(56.9% 0.173 142.9);
Tailwind
colors: {
  custom: {
    50: '#71b165',
    500: '#238f23',
    950: '#000000',
  },
}
SCSS
$custom: #238f23;
$custom-light: #71b165;
$custom-dark: #000000;
JSON
{
  "hex": "#238f23",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 120,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56936,
    "c": 0.17253,
    "h": 142.9
  },
  "luminance": 0.20124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #238F23

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

Preview Lab → · Contrast checker → · Palette generator →

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