#238D45#238D45

#238D45 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.143 H 149.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#238D45
RGBrgb(35, 141, 69)
HSLhsl(139, 60%, 35%)
HSVhsv(139, 75%, 55%)
CMYKcmyk(75.2%, 0%, 51.1%, 44.7%)
CIE-LABlab(51.65, -45.80, 29.96)
CIE-LCHlch(51.65, 54.73, 146.81°)
OKLaboklab(56.78% -0.1232 0.0727)
OKLCHoklch(56.78% 0.143 149.4)
XYZxyz(11.2913, 19.8354, 8.8626)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D45 #8D236B
analogous
#368D23 #238D45 #238D7A
triadic
#238D45 #45238D #8D4523
tetradic
#238D45 #23368D #8D236B #8D7A23
square
#238D45 #23368D #8D236B #8D7A23
split-complementary
#238D45 #7A238D #8D2336
monochromatic
#0B2B15 #175C2D #238D45 #2FBE5D #55D57E

Accessibility & contrast

On white

4.23
#238D45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#238D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238D45
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238D45#FFFFFF#000000##000000
##238D451.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803F
Deuteranopia (green-blind)
#82784A
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238d45;
/* rgb */ color: rgb(35, 141, 69);
/* oklch */ color: oklch(56.8% 0.143 149.4);
Tailwind
colors: {
  custom: {
    50: '#6faf7a',
    500: '#238d45',
    950: '#000000',
  },
}
SCSS
$custom: #238d45;
$custom-light: #6faf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#238d45",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 69
  },
  "hsl": {
    "h": 139.245,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5678,
    "c": 0.14306,
    "h": 149.4
  },
  "luminance": 0.19837
}

Semantic roles & 50–950 ramp

primary
#238D45
secondary
#B95398
accent
#44B0E3
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #238D45

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

Preview Lab → · Contrast checker → · Palette generator →

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