#295412#295412

#295412 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.0% C 0.106 H 136.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#295412
RGBrgb(41, 84, 18)
HSLhsl(99, 65%, 20%)
HSVhsv(99, 79%, 33%)
CMYKcmyk(51.2%, 0%, 78.6%, 67.1%)
CIE-LABlab(31.48, -27.95, 32.12)
CIE-LCHlch(31.48, 42.58, 131.03°)
OKLaboklab(40% -0.0775 0.0725)
OKLCHoklch(40% 0.106 136.9)
XYZxyz(4.1938, 6.8555, 1.6744)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295412 #3D1254
analogous
#4A5412 #295412 #12541C
triadic
#295412 #122954 #541229
tetradic
#295412 #124A54 #3D1254 #541C12
square
#295412 #124A54 #3D1254 #541C12
split-complementary
#295412 #1C1254 #54124A
monochromatic
#0C1905 #102207 #295412 #42861D #5AB928

Accessibility & contrast

On white

8.86
#295412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#295412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295412
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295412#FFFFFF#000000##FFFFFF
##2954121.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C07
Deuteranopia (green-blind)
#514918
Tritanopia (blue-blind)
#275147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #295412;
/* rgb */ color: rgb(41, 84, 18);
/* oklch */ color: oklch(40.0% 0.106 136.9);
Tailwind
colors: {
  custom: {
    50: '#688455',
    500: '#295412',
    950: '#000000',
  },
}
SCSS
$custom: #295412;
$custom-light: #688455;
$custom-dark: #000000;
JSON
{
  "hex": "#295412",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 99.091,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39995,
    "c": 0.10615,
    "h": 136.9
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#295412
secondary
#6E358D
accent
#40E8AD
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #295412

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

Preview Lab → · Contrast checker → · Palette generator →

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