#238F2F#238F2F

#238F2F is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.164 H 144.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#238F2F
RGBrgb(35, 143, 47)
HSLhsl(127, 61%, 35%)
HSVhsv(127, 76%, 56%)
CMYKcmyk(75.5%, 0%, 67.1%, 43.9%)
CIE-LABlab(52.07, -49.54, 41.22)
CIE-LCHlch(52.07, 64.44, 140.23°)
OKLaboklab(57.05% -0.1339 0.0955)
OKLCHoklch(57.05% 0.164 144.5)
XYZxyz(11.0279, 20.2062, 6.0078)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F2F #8F2383
analogous
#4D8F23 #238F2F #238F65
triadic
#238F2F #2F238F #8F2F23
tetradic
#238F2F #234D8F #8F2383 #8F6523
square
#238F2F #234D8F #8F2383 #8F6523
split-complementary
#238F2F #65238F #8F234D
monochromatic
#0B2D0F #175E1F #238F2F #2FC03F #57D665

Accessibility & contrast

On white

4.17
#238F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#238F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238F2F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238F2F#FFFFFF#000000##000000
##238F2F1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928123
Deuteranopia (green-blind)
#857938
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f2f;
/* rgb */ color: rgb(35, 143, 47);
/* oklch */ color: oklch(57.0% 0.164 144.5);
Tailwind
colors: {
  custom: {
    50: '#70b16c',
    500: '#238f2f',
    950: '#000000',
  },
}
SCSS
$custom: #238f2f;
$custom-light: #70b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#238f2f",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 126.667,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57045,
    "c": 0.16445,
    "h": 144.5
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#238F2F
secondary
#BA54AF
accent
#44D2E4
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #238F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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