#238A1C#238A1C

#238A1C is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.171 H 142.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#238A1C
RGBrgb(35, 138, 28)
HSLhsl(116, 66%, 33%)
HSVhsv(116, 80%, 54%)
CMYKcmyk(74.6%, 0%, 79.7%, 45.9%)
CIE-LABlab(50.24, -49.53, 46.81)
CIE-LCHlch(50.24, 68.15, 136.62°)
OKLaboklab(55.48% -0.1348 0.1047)
OKLCHoklch(55.48% 0.171 142.2)
XYZxyz(9.9906, 18.6170, 4.1653)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238A1C #831C8A
analogous
#5A8A1C #238A1C #1C8A4C
triadic
#238A1C #1C238A #8A1C23
tetradic
#238A1C #1C5A8A #831C8A #8A4C1C
square
#238A1C #1C5A8A #831C8A #8A4C1C
split-complementary
#238A1C #4C1C8A #8A1C5A
monochromatic
#092407 #165712 #238A1C #30BD26 #50DA47

Accessibility & contrast

On white

4.45
#238A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#238A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238A1C
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238A1C#FFFFFF#000000##000000
##238A1C1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#827429
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238a1c;
/* rgb */ color: rgb(35, 138, 28);
/* oklch */ color: oklch(55.5% 0.171 142.2);
Tailwind
colors: {
  custom: {
    50: '#70ad61',
    500: '#238a1c',
    950: '#000000',
  },
}
SCSS
$custom: #238a1c;
$custom-light: #70ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#238a1c",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 116.182,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55478,
    "c": 0.1707,
    "h": 142.2
  },
  "luminance": 0.18618
}

Semantic roles & 50–950 ramp

primary
#238A1C
secondary
#B446BB
accent
#3FE9DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #238A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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