#238722#238722

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

Color values

HEX#238722
RGBrgb(35, 135, 34)
HSLhsl(119, 60%, 33%)
HSVhsv(119, 75%, 53%)
CMYKcmyk(74.1%, 0%, 74.8%, 47.1%)
CIE-LABlab(49.25, -48.04, 43.66)
CIE-LCHlch(49.25, 64.92, 137.73°)
OKLaboklab(54.67% -0.1305 0.099)
OKLCHoklch(54.67% 0.164 142.8)
XYZxyz(9.6453, 17.7997, 4.4404)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238722 #862287
analogous
#558722 #238722 #228753
triadic
#238722 #222387 #872223
tetradic
#238722 #225587 #862287 #875322
square
#238722 #225587 #862287 #875322
split-complementary
#238722 #532287 #872255
monochromatic
#0A2509 #165616 #238722 #30B82E #52D350

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238722#FFFFFF#000000##FFFFFF
##2387221.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)
#8A7A10
Deuteranopia (green-blind)
#7F722C
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #238722;
/* rgb */ color: rgb(35, 135, 34);
/* oklch */ color: oklch(54.7% 0.164 142.8);
Tailwind
colors: {
  custom: {
    50: '#6fab64',
    500: '#238722',
    950: '#000000',
  },
}
SCSS
$custom: #238722;
$custom-light: #6fab64;
$custom-dark: #000000;
JSON
{
  "hex": "#238722",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 119.406,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54673,
    "c": 0.16377,
    "h": 142.8
  },
  "luminance": 0.17801
}

Semantic roles & 50–950 ramp

primary
#238722
secondary
#B54EB7
accent
#45E3E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #238722

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

Preview Lab → · Contrast checker → · Palette generator →

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