#238720#238720

#238720 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.165 H 142.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#238720
RGBrgb(35, 135, 32)
HSLhsl(118, 62%, 33%)
HSVhsv(118, 76%, 53%)
CMYKcmyk(74.1%, 0%, 76.3%, 47.1%)
CIE-LABlab(49.24, -48.21, 44.41)
CIE-LCHlch(49.24, 65.55, 137.35°)
OKLaboklab(54.66% -0.131 0.1003)
OKLCHoklch(54.66% 0.165 142.6)
XYZxyz(9.6172, 17.7885, 4.2929)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238720 #842087
analogous
#578720 #238720 #208750
triadic
#238720 #202387 #872023
tetradic
#238720 #205787 #842087 #875020
square
#238720 #205787 #842087 #875020
split-complementary
#238720 #502087 #872057
monochromatic
#092409 #165614 #238720 #30B82C #51D54D

Accessibility & contrast

On white

4.61
#238720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#238720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #238720
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238720#FFFFFF#000000##FFFFFF
##2387201.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0B
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #238720;
/* rgb */ color: rgb(35, 135, 32);
/* oklch */ color: oklch(54.7% 0.165 142.6);
Tailwind
colors: {
  custom: {
    50: '#6fab63',
    500: '#238720',
    950: '#000000',
  },
}
SCSS
$custom: #238720;
$custom-light: #6fab63;
$custom-dark: #000000;
JSON
{
  "hex": "#238720",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 118.252,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54657,
    "c": 0.165,
    "h": 142.6
  },
  "luminance": 0.1779
}

Semantic roles & 50–950 ramp

primary
#238720
secondary
#B44BB8
accent
#43E5E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #238720

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

Preview Lab → · Contrast checker → · Palette generator →

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