#235E1F#235E1F

#235E1F is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.113 H 142.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#235E1F
RGBrgb(35, 94, 31)
HSLhsl(116, 50%, 25%)
HSVhsv(116, 67%, 37%)
CMYKcmyk(62.8%, 0%, 67%, 63.1%)
CIE-LABlab(34.93, -32.88, 29.71)
CIE-LCHlch(34.93, 44.31, 137.90°)
OKLaboklab(42.8% -0.0895 0.0692)
OKLCHoklch(42.8% 0.113 142.3)
XYZxyz(4.9429, 8.4612, 2.6688)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235E1F #5A1F5E
analogous
#435E1F #235E1F #1F5E3A
triadic
#235E1F #1F235E #5E1F23
tetradic
#235E1F #1F435E #5A1F5E #5E3A1F
square
#235E1F #1F435E #5A1F5E #5E3A1F
split-complementary
#235E1F #3A1F5E #5E1F43
monochromatic
#091708 #123010 #235E1F #348C2E #45BA3D

Accessibility & contrast

On white

7.80
#235E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#235E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235E1F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235E1F#FFFFFF#000000##FFFFFF
##235E1F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605518
Deuteranopia (green-blind)
#595024
Tritanopia (blue-blind)
#1A5B51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #235e1f;
/* rgb */ color: rgb(35, 94, 31);
/* oklch */ color: oklch(42.8% 0.113 142.3);
Tailwind
colors: {
  custom: {
    50: '#658c5d',
    500: '#235e1f',
    950: '#000000',
  },
}
SCSS
$custom: #235e1f;
$custom-light: #658c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#235e1f",
  "rgb": {
    "r": 35,
    "g": 94,
    "b": 31
  },
  "hsl": {
    "h": 116.19,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.42804,
    "c": 0.1132,
    "h": 142.3
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#235E1F
secondary
#8E4693
accent
#4EDAD1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #235E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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