#295312#295312

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

Color values

HEX#295312
RGBrgb(41, 83, 18)
HSLhsl(99, 64%, 20%)
HSVhsv(99, 78%, 33%)
CMYKcmyk(50.6%, 0%, 78.3%, 67.5%)
CIE-LABlab(31.12, -27.50, 31.76)
CIE-LCHlch(31.12, 42.01, 130.89°)
OKLaboklab(39.7% -0.0763 0.0717)
OKLCHoklch(39.7% 0.105 136.8)
XYZxyz(4.1168, 6.7013, 1.6487)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295312 #3C1253
analogous
#4A5312 #295312 #12531C
triadic
#295312 #122953 #531229
tetradic
#295312 #124A53 #3C1253 #531C12
square
#295312 #124A53 #3C1253 #531C12
split-complementary
#295312 #1C1253 #53124A
monochromatic
#0C1905 #102107 #295312 #42851D #5BB828

Accessibility & contrast

On white

8.97
#295312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #295312
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295312#FFFFFF#000000##FFFFFF
##2953121.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #295312;
/* rgb */ color: rgb(41, 83, 18);
/* oklch */ color: oklch(39.7% 0.105 136.8);
Tailwind
colors: {
  custom: {
    50: '#678455',
    500: '#295312',
    950: '#000000',
  },
}
SCSS
$custom: #295312;
$custom-light: #678455;
$custom-dark: #000000;
JSON
{
  "hex": "#295312",
  "rgb": {
    "r": 41,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 98.769,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.397,
    "c": 0.10474,
    "h": 136.8
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#295312
secondary
#6D358C
accent
#40E7AC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #295312

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

Preview Lab → · Contrast checker → · Palette generator →

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