#238820#238820

#238820 is a mid, vivid green. Relative luminance 0.181; OKLCH L 54.9% C 0.166 H 142.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#238820
RGBrgb(35, 136, 32)
HSLhsl(118, 62%, 33%)
HSVhsv(118, 76%, 53%)
CMYKcmyk(74.3%, 0%, 76.5%, 46.7%)
CIE-LABlab(49.58, -48.55, 44.75)
CIE-LCHlch(49.58, 66.03, 137.33°)
OKLaboklab(54.94% -0.132 0.101)
OKLCHoklch(54.94% 0.166 142.6)
XYZxyz(9.7574, 18.0688, 4.3396)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238820 #852088
analogous
#578820 #238820 #208851
triadic
#238820 #202388 #882023
tetradic
#238820 #205788 #852088 #885120
square
#238820 #205788 #852088 #885120
split-complementary
#238820 #512088 #882057
monochromatic
#092509 #165614 #238820 #30BA2C #51D54D

Accessibility & contrast

On white

4.55
#238820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#238820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238820
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238820#FFFFFF#000000##000000
##2388201.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0B
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #238820;
/* rgb */ color: rgb(35, 136, 32);
/* oklch */ color: oklch(54.9% 0.166 142.6);
Tailwind
colors: {
  custom: {
    50: '#6fac63',
    500: '#238820',
    950: '#000000',
  },
}
SCSS
$custom: #238820;
$custom-light: #6fac63;
$custom-dark: #000000;
JSON
{
  "hex": "#238820",
  "rgb": {
    "r": 35,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 118.269,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5494,
    "c": 0.16617,
    "h": 142.6
  },
  "luminance": 0.1807
}

Semantic roles & 50–950 ramp

primary
#238820
secondary
#B54CB8
accent
#43E5E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #238820

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

Preview Lab → · Contrast checker → · Palette generator →

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