#235217#235217

#235217 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.103 H 139.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#235217
RGBrgb(35, 82, 23)
HSLhsl(108, 56%, 21%)
HSVhsv(108, 72%, 32%)
CMYKcmyk(57.3%, 0%, 72%, 67.8%)
CIE-LABlab(30.53, -28.62, 28.78)
CIE-LCHlch(30.53, 40.59, 134.84°)
OKLaboklab(39.16% -0.0785 0.0663)
OKLCHoklch(39.16% 0.103 139.8)
XYZxyz(3.8649, 6.4535, 1.8524)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235217 #461752
analogous
#405217 #235217 #175229
triadic
#235217 #172352 #521723
tetradic
#235217 #174052 #461752 #522917
square
#235217 #174052 #461752 #522917
split-complementary
#235217 #291752 #521740
monochromatic
#0A1807 #0F220A #235217 #378224 #4CB232

Accessibility & contrast

On white

9.17
#235217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#235217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235217
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235217#FFFFFF#000000##FFFFFF
##2352171.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0F
Deuteranopia (green-blind)
#4E461C
Tritanopia (blue-blind)
#1E4F46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #235217;
/* rgb */ color: rgb(35, 82, 23);
/* oklch */ color: oklch(39.2% 0.103 139.8);
Tailwind
colors: {
  custom: {
    50: '#638357',
    500: '#235217',
    950: '#000000',
  },
}
SCSS
$custom: #235217;
$custom-light: #638357;
$custom-dark: #000000;
JSON
{
  "hex": "#235217",
  "rgb": {
    "r": 35,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 107.797,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39155,
    "c": 0.10278,
    "h": 139.8
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#235217
secondary
#793C89
accent
#48DFC1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #235217

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

Preview Lab → · Contrast checker → · Palette generator →

#235217 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva