#248020#248020

#248020 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.156 H 142.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#248020
RGBrgb(36, 128, 32)
HSLhsl(118, 60%, 31%)
HSVhsv(118, 75%, 50%)
CMYKcmyk(71.9%, 0%, 75%, 49.8%)
CIE-LABlab(46.87, -45.58, 42.02)
CIE-LCHlch(46.87, 61.99, 137.33°)
OKLaboklab(52.69% -0.1239 0.0953)
OKLCHoklch(52.69% 0.156 142.5)
XYZxyz(8.7069, 15.9168, 3.9796)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#248020 #7C2080
analogous
#548020 #248020 #20804C
triadic
#248020 #202480 #802024
tetradic
#248020 #205480 #7C2080 #804C20
square
#248020 #205480 #7C2080 #804C20
split-complementary
#248020 #4C2080 #802054
monochromatic
#081E08 #164F14 #248020 #32B12C #4FD149

Accessibility & contrast

On white

5.02
#248020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#248020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #248020
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##248020#FFFFFF#000000##FFFFFF
##2480201.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740F
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#0A7C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #248020;
/* rgb */ color: rgb(36, 128, 32);
/* oklch */ color: oklch(52.7% 0.156 142.5);
Tailwind
colors: {
  custom: {
    50: '#6ea662',
    500: '#248020',
    950: '#000000',
  },
}
SCSS
$custom: #248020;
$custom-light: #6ea662;
$custom-dark: #000000;
JSON
{
  "hex": "#248020",
  "rgb": {
    "r": 36,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 117.5,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52694,
    "c": 0.15633,
    "h": 142.5
  },
  "luminance": 0.15918
}

Semantic roles & 50–950 ramp

primary
#248020
secondary
#AE49B3
accent
#45E3DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #248020

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

Preview Lab → · Contrast checker → · Palette generator →

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