#238F1A#238F1A

#238F1A is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.177 H 142.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#238F1A
RGBrgb(35, 143, 26)
HSLhsl(115, 69%, 33%)
HSVhsv(115, 82%, 56%)
CMYKcmyk(75.5%, 0%, 81.8%, 43.9%)
CIE-LABlab(51.92, -51.33, 49.06)
CIE-LCHlch(51.92, 71.01, 136.30°)
OKLaboklab(56.88% -0.1398 0.1091)
OKLCHoklch(56.88% 0.177 142)
XYZxyz(10.7014, 20.0756, 4.2881)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F1A #861A8F
analogous
#5D8F1A #238F1A #1A8F4C
triadic
#238F1A #1A238F #8F1A23
tetradic
#238F1A #1A5D8F #861A8F #8F4C1A
square
#238F1A #1A5D8F #861A8F #8F4C1A
split-complementary
#238F1A #4C1A8F #8F1A5D
monochromatic
#0A2707 #165B11 #238F1A #30C323 #52DD46

Accessibility & contrast

On white

4.19
#238F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#238F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238F1A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238F1A#FFFFFF#000000##000000
##238F1A1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867928
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f1a;
/* rgb */ color: rgb(35, 143, 26);
/* oklch */ color: oklch(56.9% 0.177 142.0);
Tailwind
colors: {
  custom: {
    50: '#71b161',
    500: '#238f1a',
    950: '#000000',
  },
}
SCSS
$custom: #238f1a;
$custom-light: #71b161;
$custom-dark: #000000;
JSON
{
  "hex": "#238f1a",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 115.385,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56876,
    "c": 0.17733,
    "h": 142
  },
  "luminance": 0.20077
}

Semantic roles & 50–950 ramp

primary
#238F1A
secondary
#B546BF
accent
#3CECDE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #238F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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