#238F2E#238F2E

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

Color values

HEX#238F2E
RGBrgb(35, 143, 46)
HSLhsl(126, 61%, 35%)
HSVhsv(126, 76%, 56%)
CMYKcmyk(75.5%, 0%, 67.8%, 43.9%)
CIE-LABlab(52.06, -49.64, 41.65)
CIE-LCHlch(52.06, 64.80, 140.00°)
OKLaboklab(57.03% -0.1342 0.0963)
OKLCHoklch(57.03% 0.165 144.3)
XYZxyz(11.0080, 20.1982, 5.9027)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F2E #8F2384
analogous
#4E8F23 #238F2E #238F64
triadic
#238F2E #2E238F #8F2E23
tetradic
#238F2E #234E8F #8F2384 #8F6423
square
#238F2E #234E8F #8F2384 #8F6423
split-complementary
#238F2E #64238F #8F234E
monochromatic
#0B2D0E #175E1E #238F2E #2FC03E #57D664

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238F2E#FFFFFF#000000##000000
##238F2E1.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)
#928121
Deuteranopia (green-blind)
#857937
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f2e;
/* rgb */ color: rgb(35, 143, 46);
/* oklch */ color: oklch(57.0% 0.165 144.3);
Tailwind
colors: {
  custom: {
    50: '#70b16b',
    500: '#238f2e',
    950: '#000000',
  },
}
SCSS
$custom: #238f2e;
$custom-light: #70b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#238f2e",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 126.111,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57034,
    "c": 0.16519,
    "h": 144.3
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#238F2E
secondary
#BA54B0
accent
#44D4E4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #238F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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