#295311#295311

#295311 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.7% C 0.105 H 136.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#295311
RGBrgb(41, 83, 17)
HSLhsl(98, 66%, 20%)
HSVhsv(98, 80%, 33%)
CMYKcmyk(50.6%, 0%, 79.5%, 67.5%)
CIE-LABlab(31.11, -27.58, 32.17)
CIE-LCHlch(31.11, 42.37, 130.61°)
OKLaboklab(39.69% -0.0766 0.0724)
OKLCHoklch(39.69% 0.105 136.6)
XYZxyz(4.1088, 6.6981, 1.6066)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295311 #3B1153
analogous
#4A5311 #295311 #11531A
triadic
#295311 #112953 #531129
tetradic
#295311 #114A53 #3B1153 #531A11
square
#295311 #114A53 #3B1153 #531A11
split-complementary
#295311 #1A1153 #53114A
monochromatic
#0D1905 #102007 #295311 #42861B #5BB926

Accessibility & contrast

On white

8.98
#295311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#295311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295311
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295311#FFFFFF#000000##FFFFFF
##2953111.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B05
Deuteranopia (green-blind)
#514818
Tritanopia (blue-blind)
#275046
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #295311;
/* rgb */ color: rgb(41, 83, 17);
/* oklch */ color: oklch(39.7% 0.105 136.6);
Tailwind
colors: {
  custom: {
    50: '#678454',
    500: '#295311',
    950: '#000000',
  },
}
SCSS
$custom: #295311;
$custom-light: #678454;
$custom-dark: #000000;
JSON
{
  "hex": "#295311",
  "rgb": {
    "r": 41,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 98.182,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39692,
    "c": 0.10543,
    "h": 136.6
  },
  "luminance": 0.06698
}

Semantic roles & 50–950 ramp

primary
#295311
secondary
#6C348C
accent
#3FE9AB
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #295311

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

Preview Lab → · Contrast checker → · Palette generator →

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