#18802F#18802F

#18802F is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.149 H 146.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#18802F
RGBrgb(24, 128, 47)
HSLhsl(133, 68%, 30%)
HSVhsv(133, 81%, 50%)
CMYKcmyk(81.3%, 0%, 63.3%, 49.8%)
CIE-LABlab(46.76, -45.97, 35.22)
CIE-LCHlch(46.76, 57.91, 142.55°)
OKLaboklab(52.58% -0.1238 0.0827)
OKLCHoklch(52.58% 0.149 146.2)
XYZxyz(8.6083, 15.8367, 5.2919)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18802F #801869
analogous
#358018 #18802F #188063
triadic
#18802F #2F1880 #802F18
tetradic
#18802F #183580 #801869 #806318
square
#18802F #183580 #801869 #806318
split-complementary
#18802F #631880 #801835
monochromatic
#051A09 #0E4C1C #18802F #22B442 #39DA5C

Accessibility & contrast

On white

5.04
#18802F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#18802F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18802F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18802F#FFFFFF#000000##FFFFFF
##18802F1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827426
Deuteranopia (green-blind)
#766C36
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #18802f;
/* rgb */ color: rgb(24, 128, 47);
/* oklch */ color: oklch(52.6% 0.149 146.2);
Tailwind
colors: {
  custom: {
    50: '#69a66b',
    500: '#18802f',
    950: '#000000',
  },
}
SCSS
$custom: #18802f;
$custom-light: #69a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#18802f",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 133.269,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52581,
    "c": 0.14887,
    "h": 146.2
  },
  "luminance": 0.15838
}

Semantic roles & 50–950 ramp

primary
#18802F
secondary
#B4409A
accent
#3DC5EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #18802F

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

Preview Lab → · Contrast checker → · Palette generator →

#18802F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva