#237318#237318

#237318 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.146 H 141.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#237318
RGBrgb(35, 115, 24)
HSLhsl(113, 65%, 27%)
HSVhsv(113, 79%, 45%)
CMYKcmyk(69.6%, 0%, 79.1%, 54.9%)
CIE-LABlab(42.28, -41.75, 40.46)
CIE-LCHlch(42.28, 58.14, 135.90°)
OKLaboklab(48.87% -0.114 0.0909)
OKLCHoklch(48.87% 0.146 141.4)
XYZxyz(6.9884, 12.6840, 2.9439)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237318 #681873
analogous
#517318 #237318 #18733A
triadic
#237318 #182373 #731823
tetradic
#237318 #185173 #681873 #733A18
square
#237318 #185173 #681873 #733A18
split-complementary
#237318 #3A1873 #731851
monochromatic
#081905 #14400D #237318 #32A623 #45D431

Accessibility & contrast

On white

5.94
#237318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#237318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237318
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237318#FFFFFF#000000##FFFFFF
##2373181.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766804
Deuteranopia (green-blind)
#6D6122
Tritanopia (blue-blind)
#136F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #237318;
/* rgb */ color: rgb(35, 115, 24);
/* oklch */ color: oklch(48.9% 0.146 141.4);
Tailwind
colors: {
  custom: {
    50: '#6a9c5c',
    500: '#237318',
    950: '#000000',
  },
}
SCSS
$custom: #237318;
$custom-light: #6a9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#237318",
  "rgb": {
    "r": 35,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 112.747,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48871,
    "c": 0.14579,
    "h": 141.4
  },
  "luminance": 0.12685
}

Semantic roles & 50–950 ramp

primary
#237318
secondary
#9B3FA8
accent
#3FE8D4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #237318

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

Preview Lab → · Contrast checker → · Palette generator →

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