#238F1F#238F1F

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

Color values

HEX#238F1F
RGBrgb(35, 143, 31)
HSLhsl(118, 64%, 34%)
HSVhsv(118, 78%, 56%)
CMYKcmyk(75.5%, 0%, 78.3%, 43.9%)
CIE-LABlab(51.95, -50.99, 47.46)
CIE-LCHlch(51.95, 69.66, 137.06°)
OKLaboklab(56.91% -0.1386 0.1065)
OKLCHoklch(56.91% 0.175 142.5)
XYZxyz(10.7623, 20.1000, 4.6085)
Luminance0.2010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F1F #8B1F8F
analogous
#5B8F1F #238F1F #1F8F53
triadic
#238F1F #1F238F #8F1F23
tetradic
#238F1F #1F5B8F #8B1F8F #8F531F
square
#238F1F #1F5B8F #8B1F8F #8F531F
split-complementary
#238F1F #531F8F #8F1F5B
monochromatic
#0A2A09 #175D14 #238F1F #2FC12A #54D94F

Accessibility & contrast

On white

4.18
#238F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##238F1F#FFFFFF#000000##000000
##238F1F1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f1f;
/* rgb */ color: rgb(35, 143, 31);
/* oklch */ color: oklch(56.9% 0.175 142.5);
Tailwind
colors: {
  custom: {
    50: '#71b163',
    500: '#238f1f',
    950: '#000000',
  },
}
SCSS
$custom: #238f1f;
$custom-light: #71b163;
$custom-dark: #000000;
JSON
{
  "hex": "#238f1f",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 117.857,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56907,
    "c": 0.1748,
    "h": 142.5
  },
  "luminance": 0.20101
}

Semantic roles & 50–950 ramp

primary
#238F1F
secondary
#B84EBC
accent
#40E7E1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #238F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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