#238C1F#238C1F

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

Color values

HEX#238C1F
RGBrgb(35, 140, 31)
HSLhsl(118, 64%, 34%)
HSVhsv(118, 78%, 55%)
CMYKcmyk(75%, 0%, 77.9%, 45.1%)
CIE-LABlab(50.93, -49.99, 46.46)
CIE-LCHlch(50.93, 68.24, 137.10°)
OKLaboklab(56.06% -0.1359 0.1044)
OKLCHoklch(56.06% 0.171 142.5)
XYZxyz(10.3179, 19.2113, 4.4604)
Luminance0.1921 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C1F #881F8C
analogous
#598C1F #238C1F #1F8C51
triadic
#238C1F #1F238C #8C1F23
tetradic
#238C1F #1F598C #881F8C #8C511F
square
#238C1F #1F598C #881F8C #8C511F
split-complementary
#238C1F #511F8C #8C1F59
monochromatic
#0A2809 #165A14 #238C1F #30BE2A #53D84E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238C1F#FFFFFF#000000##000000
##238C1F1.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)
#8F7E06
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238c1f;
/* rgb */ color: rgb(35, 140, 31);
/* oklch */ color: oklch(56.1% 0.171 142.5);
Tailwind
colors: {
  custom: {
    50: '#70af63',
    500: '#238c1f',
    950: '#000000',
  },
}
SCSS
$custom: #238c1f;
$custom-light: #70af63;
$custom-dark: #000000;
JSON
{
  "hex": "#238c1f",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 117.798,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56063,
    "c": 0.17138,
    "h": 142.5
  },
  "luminance": 0.19212
}

Semantic roles & 50–950 ramp

primary
#238C1F
secondary
#B74CBB
accent
#41E7E1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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