#238C1C#238C1C

#238C1C is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.173 H 142.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#238C1C
RGBrgb(35, 140, 28)
HSLhsl(116, 67%, 33%)
HSVhsv(116, 80%, 55%)
CMYKcmyk(75%, 0%, 80%, 45.1%)
CIE-LABlab(50.92, -50.20, 47.47)
CIE-LCHlch(50.92, 69.09, 136.61°)
OKLaboklab(56.04% -0.1366 0.1061)
OKLCHoklch(56.04% 0.173 142.2)
XYZxyz(10.2802, 19.1962, 4.2618)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C1C #851C8C
analogous
#5B8C1C #238C1C #1C8C4D
triadic
#238C1C #1C238C #8C1C23
tetradic
#238C1C #1C5B8C #851C8C #8C4D1C
square
#238C1C #1C5B8C #851C8C #8C4D1C
split-complementary
#238C1C #4D1C8C #8C1C5B
monochromatic
#092608 #165912 #238C1C #30BF26 #51DA48

Accessibility & contrast

On white

4.34
#238C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#238C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238C1C
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238C1C#FFFFFF#000000##000000
##238C1C1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238c1c;
/* rgb */ color: rgb(35, 140, 28);
/* oklch */ color: oklch(56.0% 0.173 142.2);
Tailwind
colors: {
  custom: {
    50: '#70af62',
    500: '#238c1c',
    950: '#000000',
  },
}
SCSS
$custom: #238c1c;
$custom-light: #70af62;
$custom-dark: #000000;
JSON
{
  "hex": "#238c1c",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 116.25,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56043,
    "c": 0.17297,
    "h": 142.2
  },
  "luminance": 0.19197
}

Semantic roles & 50–950 ramp

primary
#238C1C
secondary
#B548BC
accent
#3EEADF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #238C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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