#238420#238420

#238420 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.161 H 142.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#238420
RGBrgb(35, 132, 32)
HSLhsl(118, 61%, 32%)
HSVhsv(118, 76%, 52%)
CMYKcmyk(73.5%, 0%, 75.8%, 48.2%)
CIE-LABlab(48.21, -47.17, 43.38)
CIE-LCHlch(48.21, 64.08, 137.40°)
OKLaboklab(53.81% -0.1282 0.0981)
OKLCHoklch(53.81% 0.161 142.6)
XYZxyz(9.2046, 16.9631, 4.1553)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238420 #812084
analogous
#558420 #238420 #20844F
triadic
#238420 #202384 #842023
tetradic
#238420 #205584 #812084 #844F20
square
#238420 #205584 #812084 #844F20
split-complementary
#238420 #4F2084 #842055
monochromatic
#092108 #165314 #238420 #30B52C #4FD34B

Accessibility & contrast

On white

4.78
#238420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#238420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238420
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238420#FFFFFF#000000##FFFFFF
##2384201.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770D
Deuteranopia (green-blind)
#7C702B
Tritanopia (blue-blind)
#038071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #238420;
/* rgb */ color: rgb(35, 132, 32);
/* oklch */ color: oklch(53.8% 0.161 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ea962',
    500: '#238420',
    950: '#000000',
  },
}
SCSS
$custom: #238420;
$custom-light: #6ea962;
$custom-dark: #000000;
JSON
{
  "hex": "#238420",
  "rgb": {
    "r": 35,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 118.2,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53807,
    "c": 0.16146,
    "h": 142.6
  },
  "luminance": 0.16964
}

Semantic roles & 50–950 ramp

primary
#238420
secondary
#B34AB6
accent
#44E4DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #238420

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

Preview Lab → · Contrast checker → · Palette generator →

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