#238E2B#238E2B

#238E2B is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.166 H 143.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#238E2B
RGBrgb(35, 142, 43)
HSLhsl(124, 60%, 35%)
HSVhsv(124, 75%, 56%)
CMYKcmyk(75.4%, 0%, 69.7%, 44.3%)
CIE-LABlab(51.70, -49.61, 42.55)
CIE-LCHlch(51.70, 65.36, 139.38°)
OKLaboklab(56.73% -0.1343 0.0978)
OKLCHoklch(56.73% 0.166 143.9)
XYZxyz(10.8015, 19.8765, 5.5523)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E2B #8E2386
analogous
#518E23 #238E2B #238E61
triadic
#238E2B #2B238E #8E2B23
tetradic
#238E2B #23518E #8E2386 #8E6123
square
#238E2B #23518E #8E2386 #8E6123
split-complementary
#238E2B #61238E #8E2351
monochromatic
#0B2C0D #175D1C #238E2B #2FBF3A #56D560

Accessibility & contrast

On white

4.22
#238E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#238E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238E2B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238E2B#FFFFFF#000000##000000
##238E2B1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801D
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238e2b;
/* rgb */ color: rgb(35, 142, 43);
/* oklch */ color: oklch(56.7% 0.166 143.9);
Tailwind
colors: {
  custom: {
    50: '#70b06a',
    500: '#238e2b',
    950: '#000000',
  },
}
SCSS
$custom: #238e2b;
$custom-light: #70b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#238e2b",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 124.486,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.16615,
    "h": 143.9
  },
  "luminance": 0.19878
}

Semantic roles & 50–950 ramp

primary
#238E2B
secondary
#B953B2
accent
#44D8E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #238E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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