#296018#296018

#296018 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.6% C 0.119 H 139.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#296018
RGBrgb(41, 96, 24)
HSLhsl(106, 60%, 24%)
HSVhsv(106, 75%, 38%)
CMYKcmyk(57.3%, 0%, 75%, 62.4%)
CIE-LABlab(35.80, -32.70, 33.98)
CIE-LCHlch(35.80, 47.15, 133.90°)
OKLaboklab(43.56% -0.0899 0.0773)
OKLCHoklch(43.56% 0.119 139.3)
XYZxyz(5.2620, 8.9027, 2.3051)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296018 #4F1860
analogous
#4D6018 #296018 #18602B
triadic
#296018 #182960 #601829
tetradic
#296018 #184D60 #4F1860 #602B18
square
#296018 #184D60 #4F1860 #602B18
split-complementary
#296018 #2B1860 #60184D
monochromatic
#0A1806 #142F0C #296018 #3E9124 #53C230

Accessibility & contrast

On white

7.55
#296018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#296018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #296018
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296018#FFFFFF#000000##FFFFFF
##2960181.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570D
Deuteranopia (green-blind)
#5C521F
Tritanopia (blue-blind)
#245D52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #296018;
/* rgb */ color: rgb(41, 96, 24);
/* oklch */ color: oklch(43.6% 0.119 139.3);
Tailwind
colors: {
  custom: {
    50: '#698e5a',
    500: '#296018',
    950: '#000000',
  },
}
SCSS
$custom: #296018;
$custom-light: #698e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#296018",
  "rgb": {
    "r": 41,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 105.833,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43564,
    "c": 0.11857,
    "h": 139.3
  },
  "luminance": 0.08903
}

Semantic roles & 50–950 ramp

primary
#296018
secondary
#813D96
accent
#45E3BE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #296018

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

Preview Lab → · Contrast checker → · Palette generator →

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