#238C2C#238C2C

#238C2C is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.163 H 144.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#238C2C
RGBrgb(35, 140, 44)
HSLhsl(125, 60%, 34%)
HSVhsv(125, 75%, 55%)
CMYKcmyk(75%, 0%, 68.6%, 45.1%)
CIE-LABlab(51.03, -48.82, 41.41)
CIE-LCHlch(51.03, 64.01, 139.70°)
OKLaboklab(56.17% -0.1321 0.0955)
OKLCHoklch(56.17% 0.163 144.1)
XYZxyz(10.5252, 19.2941, 5.5518)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C2C #8C2383
analogous
#4F8C23 #238C2C #238C61
triadic
#238C2C #2C238C #8C2C23
tetradic
#238C2C #234F8C #8C2383 #8C6123
square
#238C2C #234F8C #8C2383 #8C6123
split-complementary
#238C2C #61238C #8C234F
monochromatic
#0B2A0D #175B1D #238C2C #2FBD3B #55D460

Accessibility & contrast

On white

4.32
#238C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#238C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238C2C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238C2C#FFFFFF#000000##000000
##238C2C1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1F
Deuteranopia (green-blind)
#837635
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238c2c;
/* rgb */ color: rgb(35, 140, 44);
/* oklch */ color: oklch(56.2% 0.163 144.1);
Tailwind
colors: {
  custom: {
    50: '#6faf6a',
    500: '#238c2c',
    950: '#000000',
  },
}
SCSS
$custom: #238c2c;
$custom-light: #6faf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#238c2c",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 125.143,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56173,
    "c": 0.16301,
    "h": 144.1
  },
  "luminance": 0.19295
}

Semantic roles & 50–950 ramp

primary
#238C2C
secondary
#B852B0
accent
#45D6E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #238C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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