#238B28#238B28

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

Color values

HEX#238B28
RGBrgb(35, 139, 40)
HSLhsl(123, 60%, 34%)
HSVhsv(123, 75%, 55%)
CMYKcmyk(74.8%, 0%, 71.2%, 45.5%)
CIE-LABlab(50.66, -48.87, 42.71)
CIE-LCHlch(50.66, 64.91, 138.85°)
OKLaboklab(55.85% -0.1324 0.0978)
OKLCHoklch(55.85% 0.165 143.6)
XYZxyz(10.3081, 18.9746, 5.1263)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B28 #8B2386
analogous
#528B23 #238B28 #238B5C
triadic
#238B28 #28238B #8B2823
tetradic
#238B28 #23528B #8B2386 #8B5C23
square
#238B28 #23528B #8B2386 #8B5C23
split-complementary
#238B28 #5C238B #8B2352
monochromatic
#0A290C #175A1A #238B28 #2FBC36 #54D45B

Accessibility & contrast

On white

4.38
#238B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##238B28#FFFFFF#000000##000000
##238B281.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E19
Deuteranopia (green-blind)
#827532
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238b28;
/* rgb */ color: rgb(35, 139, 40);
/* oklch */ color: oklch(55.9% 0.165 143.6);
Tailwind
colors: {
  custom: {
    50: '#6fae68',
    500: '#238b28',
    950: '#000000',
  },
}
SCSS
$custom: #238b28;
$custom-light: #6fae68;
$custom-dark: #000000;
JSON
{
  "hex": "#238b28",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 122.885,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55854,
    "c": 0.16462,
    "h": 143.6
  },
  "luminance": 0.18976
}

Semantic roles & 50–950 ramp

primary
#238B28
secondary
#B852B3
accent
#45DBE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238B28

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

Preview Lab → · Contrast checker → · Palette generator →

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