#295711#295711

#295711 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.9% C 0.111 H 137.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#295711
RGBrgb(41, 87, 17)
HSLhsl(99, 67%, 20%)
HSVhsv(99, 80%, 34%)
CMYKcmyk(52.9%, 0%, 80.5%, 65.9%)
CIE-LABlab(32.54, -29.38, 33.59)
CIE-LCHlch(32.54, 44.63, 131.17°)
OKLaboklab(40.87% -0.0815 0.0754)
OKLCHoklch(40.87% 0.111 137.2)
XYZxyz(4.4237, 7.3280, 1.7115)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295711 #3F1157
analogous
#4C5711 #295711 #11571C
triadic
#295711 #112957 #571129
tetradic
#295711 #114C57 #3F1157 #571C11
square
#295711 #114C57 #3F1157 #571C11
split-complementary
#295711 #1C1157 #57114C
monochromatic
#0C1A05 #112407 #295711 #418A1B #59BD25

Accessibility & contrast

On white

8.52
#295711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#295711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295711
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295711#FFFFFF#000000##FFFFFF
##2957111.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F04
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#26544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #295711;
/* rgb */ color: rgb(41, 87, 17);
/* oklch */ color: oklch(40.9% 0.111 137.2);
Tailwind
colors: {
  custom: {
    50: '#688755',
    500: '#295711',
    950: '#000000',
  },
}
SCSS
$custom: #295711;
$custom-light: #688755;
$custom-dark: #000000;
JSON
{
  "hex": "#295711",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 99.429,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40869,
    "c": 0.11101,
    "h": 137.2
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#295711
secondary
#703490
accent
#3EEAAF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #295711

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

Preview Lab → · Contrast checker → · Palette generator →

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