#234F17#234F17

#234F17 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.3% C 0.098 H 139.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#234F17
RGBrgb(35, 79, 23)
HSLhsl(107, 55%, 20%)
HSVhsv(107, 71%, 31%)
CMYKcmyk(55.7%, 0%, 70.9%, 69%)
CIE-LABlab(29.44, -27.27, 27.60)
CIE-LCHlch(29.44, 38.80, 134.66°)
OKLaboklab(38.26% -0.0749 0.0638)
OKLCHoklch(38.26% 0.098 139.6)
XYZxyz(3.6436, 6.0109, 1.7787)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F17 #43174F
analogous
#3F4F17 #234F17 #174F27
triadic
#234F17 #17234F #4F1723
tetradic
#234F17 #173F4F #43174F #4F2717
square
#234F17 #173F4F #43174F #4F2717
split-complementary
#234F17 #27174F #4F173F
monochromatic
#0A1807 #0E2009 #234F17 #387E25 #4DAE33

Accessibility & contrast

On white

9.54
#234F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#234F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234F17
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234F17#FFFFFF#000000##FFFFFF
##234F171.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514810
Deuteranopia (green-blind)
#4C441C
Tritanopia (blue-blind)
#1F4C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #234f17;
/* rgb */ color: rgb(35, 79, 23);
/* oklch */ color: oklch(38.3% 0.098 139.6);
Tailwind
colors: {
  custom: {
    50: '#638157',
    500: '#234f17',
    950: '#000000',
  },
}
SCSS
$custom: #234f17;
$custom-light: #638157;
$custom-dark: #000000;
JSON
{
  "hex": "#234f17",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 23
  },
  "hsl": {
    "h": 107.143,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.3826,
    "c": 0.09837,
    "h": 139.6
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#234F17
secondary
#763C86
accent
#4ADEBE
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #234F17

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

Preview Lab → · Contrast checker → · Palette generator →

#234F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva