#296017#296017

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

Color values

HEX#296017
RGBrgb(41, 96, 23)
HSLhsl(105, 61%, 23%)
HSVhsv(105, 76%, 38%)
CMYKcmyk(57.3%, 0%, 76%, 62.4%)
CIE-LABlab(35.79, -32.78, 34.40)
CIE-LCHlch(35.79, 47.52, 133.63°)
OKLaboklab(43.56% -0.0902 0.078)
OKLCHoklch(43.56% 0.119 139.2)
XYZxyz(5.2518, 8.8986, 2.2513)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296017 #4E1760
analogous
#4D6017 #296017 #176029
triadic
#296017 #172960 #601729
tetradic
#296017 #174D60 #4E1760 #602917
square
#296017 #174D60 #4E1760 #602917
split-complementary
#296017 #291760 #60174D
monochromatic
#0B1906 #142F0B #296017 #3E9123 #53C32F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##296017#FFFFFF#000000##FFFFFF
##2960171.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)
#63570B
Deuteranopia (green-blind)
#5C521E
Tritanopia (blue-blind)
#245D52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #296017;
/* rgb */ color: rgb(41, 96, 23);
/* oklch */ color: oklch(43.6% 0.119 139.2);
Tailwind
colors: {
  custom: {
    50: '#698e59',
    500: '#296017',
    950: '#000000',
  },
}
SCSS
$custom: #296017;
$custom-light: #698e59;
$custom-dark: #000000;
JSON
{
  "hex": "#296017",
  "rgb": {
    "r": 41,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 105.205,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43555,
    "c": 0.11929,
    "h": 139.2
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

primary
#296017
secondary
#803C97
accent
#43E4BD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #296017

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

Preview Lab → · Contrast checker → · Palette generator →

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