#238B1A#238B1A

#238B1A is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.173 H 142.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#238B1A
RGBrgb(35, 139, 26)
HSLhsl(115, 68%, 32%)
HSVhsv(115, 81%, 55%)
CMYKcmyk(74.8%, 0%, 81.3%, 45.5%)
CIE-LABlab(50.57, -50.00, 47.78)
CIE-LCHlch(50.57, 69.16, 136.30°)
OKLaboklab(55.75% -0.1362 0.1065)
OKLCHoklch(55.75% 0.173 142)
XYZxyz(10.1116, 18.8960, 4.0915)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B1A #821A8B
analogous
#5C8B1A #238B1A #1A8B49
triadic
#238B1A #1A238B #8B1A23
tetradic
#238B1A #1A5C8B #821A8B #8B491A
square
#238B1A #1A5C8B #821A8B #8B491A
split-complementary
#238B1A #491A8B #8B1A5C
monochromatic
#092407 #165710 #238B1A #30BF24 #50DC43

Accessibility & contrast

On white

4.39
#238B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#238B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238B1A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238B1A#FFFFFF#000000##000000
##238B1A1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837528
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238b1a;
/* rgb */ color: rgb(35, 139, 26);
/* oklch */ color: oklch(55.7% 0.173 142.0);
Tailwind
colors: {
  custom: {
    50: '#70ae61',
    500: '#238b1a',
    950: '#000000',
  },
}
SCSS
$custom: #238b1a;
$custom-light: #70ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#238b1a",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 115.221,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55748,
    "c": 0.17284,
    "h": 142
  },
  "luminance": 0.18897
}

Semantic roles & 50–950 ramp

primary
#238B1A
secondary
#B344BD
accent
#3CEBDD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #238B1A

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

Preview Lab → · Contrast checker → · Palette generator →

#238B1A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva