#238B27#238B27

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

Color values

HEX#238B27
RGBrgb(35, 139, 39)
HSLhsl(122, 60%, 34%)
HSVhsv(122, 75%, 55%)
CMYKcmyk(74.8%, 0%, 71.9%, 45.5%)
CIE-LABlab(50.65, -48.97, 43.11)
CIE-LCHlch(50.65, 65.24, 138.64°)
OKLaboklab(55.85% -0.1327 0.0985)
OKLCHoklch(55.85% 0.165 143.4)
XYZxyz(10.2913, 18.9679, 5.0379)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B27 #8B2387
analogous
#538B23 #238B27 #238B5B
triadic
#238B27 #27238B #8B2723
tetradic
#238B27 #23538B #8B2387 #8B5B23
square
#238B27 #23538B #8B2387 #8B5B23
split-complementary
#238B27 #5B238B #8B2353
monochromatic
#0A290C #175A19 #238B27 #2FBC35 #54D459

Accessibility & contrast

On white

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

On black

4.79
#238B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238B27
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238B27#FFFFFF#000000##000000
##238B271.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #238b27;
/* rgb */ color: rgb(35, 139, 39);
/* oklch */ color: oklch(55.8% 0.165 143.4);
Tailwind
colors: {
  custom: {
    50: '#6fae67',
    500: '#238b27',
    950: '#000000',
  },
}
SCSS
$custom: #238b27;
$custom-light: #6fae67;
$custom-dark: #000000;
JSON
{
  "hex": "#238b27",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 122.308,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55845,
    "c": 0.1653,
    "h": 143.4
  },
  "luminance": 0.18969
}

Semantic roles & 50–950 ramp

primary
#238B27
secondary
#B852B4
accent
#45DDE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238B27

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

Preview Lab → · Contrast checker → · Palette generator →

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