#237F1F#237F1F

#237F1F is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.156 H 142.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#237F1F
RGBrgb(35, 127, 31)
HSLhsl(118, 61%, 31%)
HSVhsv(118, 76%, 50%)
CMYKcmyk(72.4%, 0%, 75.6%, 50.2%)
CIE-LABlab(46.49, -45.50, 42.02)
CIE-LCHlch(46.49, 61.94, 137.28°)
OKLaboklab(52.38% -0.1237 0.0952)
OKLCHoklch(52.38% 0.156 142.4)
XYZxyz(8.5293, 15.6341, 3.8642)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F1F #7B1F7F
analogous
#537F1F #237F1F #1F7F4B
triadic
#237F1F #1F237F #7F1F23
tetradic
#237F1F #1F537F #7B1F7F #7F4B1F
square
#237F1F #1F537F #7B1F7F #7F4B1F
split-complementary
#237F1F #4B1F7F #7F1F53
monochromatic
#081D07 #154E13 #237F1F #31B02B #4CD246

Accessibility & contrast

On white

5.09
#237F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#237F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237F1F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237F1F#FFFFFF#000000##FFFFFF
##237F1F1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730D
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#087B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #237f1f;
/* rgb */ color: rgb(35, 127, 31);
/* oklch */ color: oklch(52.4% 0.156 142.4);
Tailwind
colors: {
  custom: {
    50: '#6da561',
    500: '#237f1f',
    950: '#000000',
  },
}
SCSS
$custom: #237f1f;
$custom-light: #6da561;
$custom-dark: #000000;
JSON
{
  "hex": "#237f1f",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 117.5,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52375,
    "c": 0.1561,
    "h": 142.4
  },
  "luminance": 0.15635
}

Semantic roles & 50–950 ramp

primary
#237F1F
secondary
#AE48B2
accent
#44E4DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #237F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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