#238F1B#238F1B

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

Color values

HEX#238F1B
RGBrgb(35, 143, 27)
HSLhsl(116, 68%, 33%)
HSVhsv(116, 81%, 56%)
CMYKcmyk(75.5%, 0%, 81.1%, 43.9%)
CIE-LABlab(51.93, -51.27, 48.76)
CIE-LCHlch(51.93, 70.75, 136.44°)
OKLaboklab(56.88% -0.1395 0.1086)
OKLCHoklch(56.88% 0.177 142.1)
XYZxyz(10.7128, 20.0802, 4.3480)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F1B #871B8F
analogous
#5D8F1B #238F1B #1B8F4D
triadic
#238F1B #1B238F #8F1B23
tetradic
#238F1B #1B5D8F #871B8F #8F4D1B
square
#238F1B #1B5D8F #871B8F #8F4D1B
split-complementary
#238F1B #4D1B8F #8F1B5D
monochromatic
#0A2808 #165C11 #238F1B #30C225 #52DC48

Accessibility & contrast

On white

4.19
#238F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##238F1B#FFFFFF#000000##000000
##238F1B1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867929
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f1b;
/* rgb */ color: rgb(35, 143, 27);
/* oklch */ color: oklch(56.9% 0.177 142.1);
Tailwind
colors: {
  custom: {
    50: '#71b162',
    500: '#238f1b',
    950: '#000000',
  },
}
SCSS
$custom: #238f1b;
$custom-light: #71b162;
$custom-dark: #000000;
JSON
{
  "hex": "#238f1b",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 115.862,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56882,
    "c": 0.17685,
    "h": 142.1
  },
  "luminance": 0.20081
}

Semantic roles & 50–950 ramp

primary
#238F1B
secondary
#B648BE
accent
#3DEBDF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #238F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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