#238E1B#238E1B

#238E1B is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.176 H 142.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#238E1B
RGBrgb(35, 142, 27)
HSLhsl(116, 68%, 33%)
HSVhsv(116, 81%, 56%)
CMYKcmyk(75.4%, 0%, 81%, 44.3%)
CIE-LABlab(51.59, -50.94, 48.43)
CIE-LCHlch(51.59, 70.29, 136.44°)
OKLaboklab(56.6% -0.1386 0.108)
OKLCHoklch(56.6% 0.176 142.1)
XYZxyz(10.5633, 19.7813, 4.2982)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E1B #861B8E
analogous
#5C8E1B #238E1B #1B8E4C
triadic
#238E1B #1B238E #8E1B23
tetradic
#238E1B #1B5C8E #861B8E #8E4C1B
square
#238E1B #1B5C8E #861B8E #8E4C1B
split-complementary
#238E1B #4C1B8E #8E1B5C
monochromatic
#0A2707 #165B11 #238E1B #30C125 #52DC47

Accessibility & contrast

On white

4.24
#238E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#238E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238E1B
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238E1B#FFFFFF#000000##000000
##238E1B1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238e1b;
/* rgb */ color: rgb(35, 142, 27);
/* oklch */ color: oklch(56.6% 0.176 142.1);
Tailwind
colors: {
  custom: {
    50: '#71b062',
    500: '#238e1b',
    950: '#000000',
  },
}
SCSS
$custom: #238e1b;
$custom-light: #71b062;
$custom-dark: #000000;
JSON
{
  "hex": "#238e1b",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 115.826,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.566,
    "c": 0.17572,
    "h": 142.1
  },
  "luminance": 0.19782
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #238E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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