#235F2F#235F2F

#235F2F is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.099 H 147.6°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#235F2F
RGBrgb(35, 95, 47)
HSLhsl(132, 46%, 25%)
HSVhsv(132, 63%, 37%)
CMYKcmyk(63.2%, 0%, 50.5%, 62.7%)
CIE-LABlab(35.49, -30.95, 21.76)
CIE-LCHlch(35.49, 37.83, 144.89°)
OKLaboklab(43.34% -0.0837 0.0531)
OKLCHoklch(43.34% 0.099 147.6)
XYZxyz(5.2981, 8.7465, 4.0978)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235F2F #5F2353
analogous
#355F23 #235F2F #235F4D
triadic
#235F2F #2F235F #5F2F23
tetradic
#235F2F #23355F #5F2353 #5F4D23
square
#235F2F #23355F #5F2353 #5F4D23
split-complementary
#235F2F #4D235F #5F2335
monochromatic
#08160B #133219 #235F2F #338C45 #44B85B

Accessibility & contrast

On white

7.64
#235F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#235F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235F2F
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235F2F#FFFFFF#000000##FFFFFF
##235F2F1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572B
Deuteranopia (green-blind)
#585132
Tritanopia (blue-blind)
#145D54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #235f2f;
/* rgb */ color: rgb(35, 95, 47);
/* oklch */ color: oklch(43.3% 0.099 147.6);
Tailwind
colors: {
  custom: {
    50: '#658d68',
    500: '#235f2f',
    950: '#000000',
  },
}
SCSS
$custom: #235f2f;
$custom-light: #658d68;
$custom-dark: #000000;
JSON
{
  "hex": "#235f2f",
  "rgb": {
    "r": 35,
    "g": 95,
    "b": 47
  },
  "hsl": {
    "h": 132,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.43339,
    "c": 0.09909,
    "h": 147.6
  },
  "luminance": 0.08747
}

Semantic roles & 50–950 ramp

primary
#235F2F
secondary
#934B84
accent
#52BBD6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #235F2F

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

Preview Lab → · Contrast checker → · Palette generator →

#235F2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva