#295512#295512

#295512 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.3% C 0.108 H 137.1°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#295512
RGBrgb(41, 85, 18)
HSLhsl(99, 65%, 20%)
HSVhsv(99, 79%, 33%)
CMYKcmyk(51.8%, 0%, 78.8%, 66.7%)
CIE-LABlab(31.83, -28.41, 32.48)
CIE-LCHlch(31.83, 43.15, 131.17°)
OKLaboklab(40.29% -0.0788 0.0732)
OKLCHoklch(40.29% 0.108 137.1)
XYZxyz(4.2720, 7.0118, 1.7005)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295512 #3E1255
analogous
#4A5512 #295512 #12551C
triadic
#295512 #122955 #551229
tetradic
#295512 #124A55 #3E1255 #551C12
square
#295512 #124A55 #3E1255 #551C12
split-complementary
#295512 #1C1255 #55124A
monochromatic
#0C1905 #112207 #295512 #41881D #5ABA27

Accessibility & contrast

On white

8.74
#295512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#295512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295512
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295512#FFFFFF#000000##FFFFFF
##2955121.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D06
Deuteranopia (green-blind)
#524A19
Tritanopia (blue-blind)
#265248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #295512;
/* rgb */ color: rgb(41, 85, 18);
/* oklch */ color: oklch(40.3% 0.108 137.1);
Tailwind
colors: {
  custom: {
    50: '#688555',
    500: '#295512',
    950: '#000000',
  },
}
SCSS
$custom: #295512;
$custom-light: #688555;
$custom-dark: #000000;
JSON
{
  "hex": "#295512",
  "rgb": {
    "r": 41,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 99.403,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40289,
    "c": 0.10756,
    "h": 137.1
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#295512
secondary
#6F358E
accent
#40E8AE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #295512

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

Preview Lab → · Contrast checker → · Palette generator →

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