#238E1A#238E1A

#238E1A is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.176 H 142.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#238E1A
RGBrgb(35, 142, 26)
HSLhsl(115, 69%, 33%)
HSVhsv(115, 82%, 56%)
CMYKcmyk(75.4%, 0%, 81.7%, 44.3%)
CIE-LABlab(51.58, -51.00, 48.74)
CIE-LCHlch(51.58, 70.55, 136.30°)
OKLaboklab(56.59% -0.1389 0.1085)
OKLCHoklch(56.59% 0.176 142)
XYZxyz(10.5520, 19.7767, 4.2383)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E1A #851A8E
analogous
#5D8E1A #238E1A #1A8E4B
triadic
#238E1A #1A238E #8E1A23
tetradic
#238E1A #1A5D8E #851A8E #8E4B1A
square
#238E1A #1A5D8E #851A8E #8E4B1A
split-complementary
#238E1A #4B1A8E #8E1A5D
monochromatic
#092707 #165A11 #238E1A #30C223 #51DD45

Accessibility & contrast

On white

4.24
#238E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#238E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238E1A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238E1A#FFFFFF#000000##000000
##238E1A1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238e1a;
/* rgb */ color: rgb(35, 142, 26);
/* oklch */ color: oklch(56.6% 0.176 142.0);
Tailwind
colors: {
  custom: {
    50: '#71b061',
    500: '#238e1a',
    950: '#000000',
  },
}
SCSS
$custom: #238e1a;
$custom-light: #71b061;
$custom-dark: #000000;
JSON
{
  "hex": "#238e1a",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 115.345,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56594,
    "c": 0.17621,
    "h": 142
  },
  "luminance": 0.19778
}

Semantic roles & 50–950 ramp

primary
#238E1A
secondary
#B545BE
accent
#3CECDE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #238E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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