#295811#295811

#295811 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.2% C 0.112 H 137.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#295811
RGBrgb(41, 88, 17)
HSLhsl(100, 68%, 21%)
HSVhsv(100, 81%, 35%)
CMYKcmyk(53.4%, 0%, 80.7%, 65.5%)
CIE-LABlab(32.90, -29.82, 33.95)
CIE-LCHlch(32.90, 45.19, 131.30°)
OKLaboklab(41.16% -0.0827 0.0761)
OKLCHoklch(41.16% 0.112 137.4)
XYZxyz(4.5052, 7.4910, 1.7387)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295811 #401158
analogous
#4C5811 #295811 #11581C
triadic
#295811 #112958 #581129
tetradic
#295811 #114C58 #401158 #581C11
square
#295811 #114C58 #401158 #581C11
split-complementary
#295811 #1C1158 #58114C
monochromatic
#0C1A05 #112507 #295811 #418B1B #59BF25

Accessibility & contrast

On white

8.41
#295811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#295811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295811
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295811#FFFFFF#000000##FFFFFF
##2958111.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5004
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#26554A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #295811;
/* rgb */ color: rgb(41, 88, 17);
/* oklch */ color: oklch(41.2% 0.112 137.4);
Tailwind
colors: {
  custom: {
    50: '#688755',
    500: '#295811',
    950: '#000000',
  },
}
SCSS
$custom: #295811;
$custom-light: #688755;
$custom-dark: #000000;
JSON
{
  "hex": "#295811",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 99.718,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41163,
    "c": 0.11239,
    "h": 137.4
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

primary
#295811
secondary
#713491
accent
#3DEAB0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #295811

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

Preview Lab → · Contrast checker → · Palette generator →

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