#238B1D#238B1D

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

Color values

HEX#238B1D
RGBrgb(35, 139, 29)
HSLhsl(117, 65%, 33%)
HSVhsv(117, 79%, 55%)
CMYKcmyk(74.8%, 0%, 79.1%, 45.5%)
CIE-LABlab(50.58, -49.80, 46.81)
CIE-LCHlch(50.58, 68.34, 136.77°)
OKLaboklab(55.77% -0.1355 0.1049)
OKLCHoklch(55.77% 0.171 142.3)
XYZxyz(10.1469, 18.9101, 4.2774)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B1D #851D8B
analogous
#5A8B1D #238B1D #1D8B4E
triadic
#238B1D #1D238B #8B1D23
tetradic
#238B1D #1D5A8B #851D8B #8B4E1D
square
#238B1D #1D5A8B #851D8B #8B4E1D
split-complementary
#238B1D #4E1D8B #8B1D5A
monochromatic
#092608 #165812 #238B1D #30BE28 #51D949

Accessibility & contrast

On white

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

On black

4.78
#238B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238B1D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238B1D#FFFFFF#000000##000000
##238B1D1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D01
Deuteranopia (green-blind)
#83752A
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238b1d;
/* rgb */ color: rgb(35, 139, 29);
/* oklch */ color: oklch(55.8% 0.171 142.3);
Tailwind
colors: {
  custom: {
    50: '#70ae62',
    500: '#238b1d',
    950: '#000000',
  },
}
SCSS
$custom: #238b1d;
$custom-light: #70ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#238b1d",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 116.727,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55767,
    "c": 0.17131,
    "h": 142.3
  },
  "luminance": 0.18911
}

Semantic roles & 50–950 ramp

primary
#238B1D
secondary
#B549BB
accent
#3FE8DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #238B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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