#238B20#238B20

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

Color values

HEX#238B20
RGBrgb(35, 139, 32)
HSLhsl(118, 63%, 34%)
HSVhsv(118, 77%, 55%)
CMYKcmyk(74.8%, 0%, 77%, 45.5%)
CIE-LABlab(50.60, -49.57, 45.77)
CIE-LCHlch(50.60, 67.47, 137.28°)
OKLaboklab(55.79% -0.1347 0.1031)
OKLCHoklch(55.79% 0.17 142.6)
XYZxyz(10.1859, 18.9257, 4.4824)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B20 #88208B
analogous
#588B20 #238B20 #208B52
triadic
#238B20 #20238B #8B2023
tetradic
#238B20 #20588B #88208B #8B5220
square
#238B20 #20588B #88208B #8B5220
split-complementary
#238B20 #52208B #8B2058
monochromatic
#0A2809 #165915 #238B20 #30BD2B #53D64F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238B20#FFFFFF#000000##000000
##238B201.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)
#8E7D09
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238b20;
/* rgb */ color: rgb(35, 139, 32);
/* oklch */ color: oklch(55.8% 0.170 142.6);
Tailwind
colors: {
  custom: {
    50: '#70ae63',
    500: '#238b20',
    950: '#000000',
  },
}
SCSS
$custom: #238b20;
$custom-light: #70ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#238b20",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 118.318,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55788,
    "c": 0.16965,
    "h": 142.6
  },
  "luminance": 0.18927
}

Semantic roles & 50–950 ramp

primary
#238B20
secondary
#B74DBA
accent
#42E6E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238B20

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

Preview Lab → · Contrast checker → · Palette generator →

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