#235F1F#235F1F

#235F1F is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.115 H 142.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#235F1F
RGBrgb(35, 95, 31)
HSLhsl(116, 51%, 25%)
HSVhsv(116, 67%, 37%)
CMYKcmyk(63.2%, 0%, 67.4%, 62.7%)
CIE-LABlab(35.28, -33.29, 30.11)
CIE-LCHlch(35.28, 44.89, 137.88°)
OKLaboklab(43.1% -0.0907 0.0701)
OKLCHoklch(43.1% 0.115 142.3)
XYZxyz(5.0324, 8.6402, 2.6986)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235F1F #5B1F5F
analogous
#435F1F #235F1F #1F5F3B
triadic
#235F1F #1F235F #5F1F23
tetradic
#235F1F #1F435F #5B1F5F #5F3B1F
square
#235F1F #1F435F #5B1F5F #5F3B1F
split-complementary
#235F1F #3B1F5F #5F1F43
monochromatic
#081708 #123110 #235F1F #348D2E #45BB3D

Accessibility & contrast

On white

7.70
#235F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#235F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235F1F
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235F1F#FFFFFF#000000##FFFFFF
##235F1F1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615617
Deuteranopia (green-blind)
#5A5124
Tritanopia (blue-blind)
#195C52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #235f1f;
/* rgb */ color: rgb(35, 95, 31);
/* oklch */ color: oklch(43.1% 0.115 142.3);
Tailwind
colors: {
  custom: {
    50: '#668d5e',
    500: '#235f1f',
    950: '#000000',
  },
}
SCSS
$custom: #235f1f;
$custom-light: #668d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#235f1f",
  "rgb": {
    "r": 35,
    "g": 95,
    "b": 31
  },
  "hsl": {
    "h": 116.25,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.43099,
    "c": 0.11461,
    "h": 142.3
  },
  "luminance": 0.08641
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #235F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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