#238B23#238B23

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

Color values

HEX#238B23
RGBrgb(35, 139, 35)
HSLhsl(120, 60%, 34%)
HSVhsv(120, 75%, 55%)
CMYKcmyk(74.8%, 0%, 74.8%, 45.5%)
CIE-LABlab(50.62, -49.33, 44.67)
CIE-LCHlch(50.62, 66.55, 137.84°)
OKLaboklab(55.81% -0.1339 0.1012)
OKLCHoklch(55.81% 0.168 142.9)
XYZxyz(10.2285, 18.9428, 4.7070)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B23 #8B238B
analogous
#578B23 #238B23 #238B57
triadic
#238B23 #23238B #8B2323
tetradic
#238B23 #23578B #8B238B #8B5723
square
#238B23 #23578B #8B238B #8B5723
split-complementary
#238B23 #57238B #8B2357
monochromatic
#0A290A #175A17 #238B23 #2FBC2F #54D454

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238B23#FFFFFF#000000##000000
##238B231.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)
#8E7D10
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238b23;
/* rgb */ color: rgb(35, 139, 35);
/* oklch */ color: oklch(55.8% 0.168 142.9);
Tailwind
colors: {
  custom: {
    50: '#70ae65',
    500: '#238b23',
    950: '#000000',
  },
}
SCSS
$custom: #238b23;
$custom-light: #70ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#238b23",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 120,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55811,
    "c": 0.16787,
    "h": 142.9
  },
  "luminance": 0.18944
}

Semantic roles & 50–950 ramp

primary
#238B23
secondary
#B852B8
accent
#45E3E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238B23

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

Preview Lab → · Contrast checker → · Palette generator →

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