#238C20#238C20

#238C20 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.171 H 142.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#238C20
RGBrgb(35, 140, 32)
HSLhsl(118, 63%, 34%)
HSVhsv(118, 77%, 55%)
CMYKcmyk(75%, 0%, 77.1%, 45.1%)
CIE-LABlab(50.94, -49.91, 46.11)
CIE-LCHlch(50.94, 67.95, 137.27°)
OKLaboklab(56.07% -0.1356 0.1038)
OKLCHoklch(56.07% 0.171 142.6)
XYZxyz(10.3313, 19.2166, 4.5309)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C20 #89208C
analogous
#598C20 #238C20 #208C53
triadic
#238C20 #20238C #8C2023
tetradic
#238C20 #20598C #89208C #8C5320
square
#238C20 #20598C #89208C #8C5320
split-complementary
#238C20 #53208C #8C2059
monochromatic
#0A2809 #175A15 #238C20 #2FBE2B #53D750

Accessibility & contrast

On white

4.34
#238C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#238C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238C20
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238C20#FFFFFF#000000##000000
##238C201.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E08
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238c20;
/* rgb */ color: rgb(35, 140, 32);
/* oklch */ color: oklch(56.1% 0.171 142.6);
Tailwind
colors: {
  custom: {
    50: '#70af64',
    500: '#238c20',
    950: '#000000',
  },
}
SCSS
$custom: #238c20;
$custom-light: #70af64;
$custom-dark: #000000;
JSON
{
  "hex": "#238c20",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 118.333,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5607,
    "c": 0.17081,
    "h": 142.6
  },
  "luminance": 0.19218
}

Semantic roles & 50–950 ramp

primary
#238C20
secondary
#B74EBA
accent
#42E6E1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238C20

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

Preview Lab → · Contrast checker → · Palette generator →

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