#30512E#30512E

#30512E is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.9% C 0.069 H 142.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#30512E
RGBrgb(48, 81, 46)
HSLhsl(117, 28%, 25%)
HSVhsv(117, 43%, 32%)
CMYKcmyk(40.7%, 0%, 43.2%, 68.2%)
CIE-LABlab(31.14, -20.25, 16.88)
CIE-LCHlch(31.14, 26.36, 140.20°)
OKLaboklab(39.93% -0.0552 0.0418)
OKLCHoklch(39.93% 0.069 142.9)
XYZxyz(4.6543, 6.7102, 3.6342)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30512E #4F2E51
analogous
#42512E #30512E #2E513D
triadic
#30512E #2E3051 #512E30
tetradic
#30512E #2E4251 #4F2E51 #513D2E
square
#30512E #2E4251 #4F2E51 #513D2E
split-complementary
#30512E #3D2E51 #512E42
monochromatic
#0C140B #192A18 #30512E #477844 #5E9F5A

Accessibility & contrast

On white

8.97
#30512E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#30512E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##30512E#FFFFFF#000000##FFFFFF
##30512E1.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)
#534B2B
Deuteranopia (green-blind)
#4E4830
Tritanopia (blue-blind)
#2D4F48
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #30512e;
/* rgb */ color: rgb(48, 81, 46);
/* oklch */ color: oklch(39.9% 0.069 142.9);
Tailwind
colors: {
  custom: {
    50: '#6a8267',
    500: '#30512e',
    950: '#000000',
  },
}
SCSS
$custom: #30512e;
$custom-light: #6a8267;
$custom-dark: #000000;
JSON
{
  "hex": "#30512e",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 46
  },
  "hsl": {
    "h": 116.571,
    "s": 27.559,
    "l": 24.902
  },
  "oklch": {
    "l": 0.39934,
    "c": 0.06923,
    "h": 142.9
  },
  "luminance": 0.0671
}

Semantic roles & 50–950 ramp

primary
#30512E
secondary
#805883
accent
#64C4BE
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #30512E

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

Preview Lab → · Contrast checker → · Palette generator →

#30512E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva