#238B2E#238B2E

#238B2E is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.160 H 144.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#238B2E
RGBrgb(35, 139, 46)
HSLhsl(126, 60%, 34%)
HSVhsv(126, 75%, 55%)
CMYKcmyk(74.8%, 0%, 66.9%, 45.5%)
CIE-LABlab(50.71, -48.25, 40.17)
CIE-LCHlch(50.71, 62.78, 140.22°)
OKLaboklab(55.91% -0.1304 0.0932)
OKLCHoklch(55.91% 0.16 144.5)
XYZxyz(10.4182, 19.0186, 5.7061)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B2E #8B2380
analogous
#4C8B23 #238B2E #238B62
triadic
#238B2E #2E238B #8B2E23
tetradic
#238B2E #234C8B #8B2380 #8B6223
square
#238B2E #234C8B #8B2380 #8B6223
split-complementary
#238B2E #62238B #8B234C
monochromatic
#0A290E #175A1E #238B2E #2FBC3E #54D462

Accessibility & contrast

On white

4.37
#238B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#238B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238B2E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238B2E#FFFFFF#000000##000000
##238B2E1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E22
Deuteranopia (green-blind)
#827636
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238b2e;
/* rgb */ color: rgb(35, 139, 46);
/* oklch */ color: oklch(55.9% 0.160 144.5);
Tailwind
colors: {
  custom: {
    50: '#6fae6b',
    500: '#238b2e',
    950: '#000000',
  },
}
SCSS
$custom: #238b2e;
$custom-light: #6fae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#238b2e",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 126.346,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55913,
    "c": 0.16029,
    "h": 144.5
  },
  "luminance": 0.1902
}

Semantic roles & 50–950 ramp

primary
#238B2E
secondary
#B852AD
accent
#45D2E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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