#238F1D#238F1D

#238F1D is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.176 H 142.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#238F1D
RGBrgb(35, 143, 29)
HSLhsl(117, 66%, 34%)
HSVhsv(117, 80%, 56%)
CMYKcmyk(75.5%, 0%, 79.7%, 43.9%)
CIE-LABlab(51.94, -51.14, 48.12)
CIE-LCHlch(51.94, 70.22, 136.74°)
OKLaboklab(56.89% -0.1391 0.1076)
OKLCHoklch(56.89% 0.176 142.3)
XYZxyz(10.7367, 20.0897, 4.4740)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F1D #891D8F
analogous
#5C8F1D #238F1D #1D8F50
triadic
#238F1D #1D238F #8F1D23
tetradic
#238F1D #1D5C8F #891D8F #8F501D
square
#238F1D #1D5C8F #891D8F #8F501D
split-complementary
#238F1D #501D8F #8F1D5C
monochromatic
#0A2908 #175C13 #238F1D #2FC227 #53DB4C

Accessibility & contrast

On white

4.18
#238F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#238F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238F1D
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238F1D#FFFFFF#000000##000000
##238F1D1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#86792A
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f1d;
/* rgb */ color: rgb(35, 143, 29);
/* oklch */ color: oklch(56.9% 0.176 142.3);
Tailwind
colors: {
  custom: {
    50: '#71b163',
    500: '#238f1d',
    950: '#000000',
  },
}
SCSS
$custom: #238f1d;
$custom-light: #71b163;
$custom-dark: #000000;
JSON
{
  "hex": "#238f1d",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 116.842,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56894,
    "c": 0.17585,
    "h": 142.3
  },
  "luminance": 0.20091
}

Semantic roles & 50–950 ramp

primary
#238F1D
secondary
#B74BBD
accent
#3FE9E0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #238F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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