#295018#295018

#295018 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.9% C 0.096 H 137.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#295018
RGBrgb(41, 80, 24)
HSLhsl(102, 54%, 20%)
HSVhsv(102, 70%, 31%)
CMYKcmyk(48.8%, 0%, 70%, 68.6%)
CIE-LABlab(30.09, -25.52, 27.90)
CIE-LCHlch(30.09, 37.81, 132.45°)
OKLaboklab(38.88% -0.0705 0.0645)
OKLCHoklch(38.88% 0.096 137.5)
XYZxyz(3.9479, 6.2744, 1.8670)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295018 #3F1850
analogous
#455018 #295018 #185023
triadic
#295018 #182950 #501829
tetradic
#295018 #184550 #3F1850 #502318
square
#295018 #184550 #3F1850 #502318
split-complementary
#295018 #231850 #501845
monochromatic
#0C1807 #11210A #295018 #417F26 #59AE34

Accessibility & contrast

On white

9.31
#295018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#295018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295018
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295018#FFFFFF#000000##FFFFFF
##2950181.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534911
Deuteranopia (green-blind)
#4D461D
Tritanopia (blue-blind)
#274D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #295018;
/* rgb */ color: rgb(41, 80, 24);
/* oklch */ color: oklch(38.9% 0.096 137.5);
Tailwind
colors: {
  custom: {
    50: '#678158',
    500: '#295018',
    950: '#000000',
  },
}
SCSS
$custom: #295018;
$custom-light: #678158;
$custom-dark: #000000;
JSON
{
  "hex": "#295018",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 101.786,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38878,
    "c": 0.09555,
    "h": 137.5
  },
  "luminance": 0.06275
}

Semantic roles & 50–950 ramp

primary
#295018
secondary
#703D87
accent
#4BDDB1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #295018

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

Preview Lab → · Contrast checker → · Palette generator →

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