#238B2F#238B2F

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

Color values

HEX#238B2F
RGBrgb(35, 139, 47)
HSLhsl(127, 60%, 34%)
HSVhsv(127, 75%, 55%)
CMYKcmyk(74.8%, 0%, 66.2%, 45.5%)
CIE-LABlab(50.72, -48.14, 39.73)
CIE-LCHlch(50.72, 62.42, 140.47°)
OKLaboklab(55.92% -0.1301 0.0923)
OKLCHoklch(55.92% 0.16 144.6)
XYZxyz(10.4381, 19.0266, 5.8112)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B2F #8B237F
analogous
#4B8B23 #238B2F #238B63
triadic
#238B2F #2F238B #8B2F23
tetradic
#238B2F #234B8B #8B237F #8B6323
square
#238B2F #234B8B #8B237F #8B6323
split-complementary
#238B2F #63238B #8B234B
monochromatic
#0A290E #175A1E #238B2F #2FBC40 #54D463

Accessibility & contrast

On white

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

On black

4.81
#238B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238B2F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238B2F#FFFFFF#000000##000000
##238B2F1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #238b2f;
/* rgb */ color: rgb(35, 139, 47);
/* oklch */ color: oklch(55.9% 0.160 144.6);
Tailwind
colors: {
  custom: {
    50: '#6fae6c',
    500: '#238b2f',
    950: '#000000',
  },
}
SCSS
$custom: #238b2f;
$custom-light: #6fae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#238b2f",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 126.923,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55924,
    "c": 0.15953,
    "h": 144.6
  },
  "luminance": 0.19028
}

Semantic roles & 50–950 ramp

primary
#238B2F
secondary
#B852AC
accent
#45D1E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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