#238B22#238B22

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

Color values

HEX#238B22
RGBrgb(35, 139, 34)
HSLhsl(119, 61%, 34%)
HSVhsv(119, 76%, 55%)
CMYKcmyk(74.8%, 0%, 75.5%, 45.5%)
CIE-LABlab(50.61, -49.41, 45.04)
CIE-LCHlch(50.61, 66.86, 137.65°)
OKLaboklab(55.8% -0.1342 0.1019)
OKLCHoklch(55.8% 0.168 142.8)
XYZxyz(10.2139, 18.9369, 4.6300)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B22 #8A228B
analogous
#588B22 #238B22 #228B56
triadic
#238B22 #22238B #8B2223
tetradic
#238B22 #22588B #8A228B #8B5622
square
#238B22 #22588B #8A228B #8B5622
split-complementary
#238B22 #56228B #8B2258
monochromatic
#0A290A #175A16 #238B22 #2FBC2E #54D553

Accessibility & contrast

On white

4.39
#238B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##238B22#FFFFFF#000000##000000
##238B221.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0E
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238b22;
/* rgb */ color: rgb(35, 139, 34);
/* oklch */ color: oklch(55.8% 0.168 142.8);
Tailwind
colors: {
  custom: {
    50: '#70ae64',
    500: '#238b22',
    950: '#000000',
  },
}
SCSS
$custom: #238b22;
$custom-light: #70ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#238b22",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 119.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55803,
    "c": 0.16848,
    "h": 142.8
  },
  "luminance": 0.18938
}

Semantic roles & 50–950 ramp

primary
#238B22
secondary
#B750B8
accent
#44E4E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238B22

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

Preview Lab → · Contrast checker → · Palette generator →

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