#30812E#30812E

#30812E is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.5% C 0.143 H 142.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#30812E
RGBrgb(48, 129, 46)
HSLhsl(119, 47%, 34%)
HSVhsv(119, 64%, 51%)
CMYKcmyk(62.8%, 0%, 64.3%, 49.4%)
CIE-LABlab(47.66, -41.84, 36.87)
CIE-LCHlch(47.66, 55.76, 138.61°)
OKLaboklab(53.48% -0.1138 0.0861)
OKLCHoklch(53.48% 0.143 142.9)
XYZxyz(9.5618, 16.5252, 5.2700)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30812E #7F2E81
analogous
#5A812E #30812E #2E8156
triadic
#30812E #2E3081 #812E30
tetradic
#30812E #2E5A81 #7F2E81 #81562E
square
#30812E #2E5A81 #7F2E81 #81562E
split-complementary
#30812E #562E81 #812E5A
monochromatic
#0E270E #1F541E #30812E #41AE3E #65C762

Accessibility & contrast

On white

4.88
#30812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#30812E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30812E
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30812E#FFFFFF#000000##FFFFFF
##30812E1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847524
Deuteranopia (green-blind)
#7A6E35
Tritanopia (blue-blind)
#217D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #30812e;
/* rgb */ color: rgb(48, 129, 46);
/* oklch */ color: oklch(53.5% 0.143 142.9);
Tailwind
colors: {
  custom: {
    50: '#72a66a',
    500: '#30812e',
    950: '#000000',
  },
}
SCSS
$custom: #30812e;
$custom-light: #72a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#30812e",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 118.554,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53481,
    "c": 0.14264,
    "h": 142.9
  },
  "luminance": 0.16526
}

Semantic roles & 50–950 ramp

primary
#30812E
secondary
#AC5DAE
accent
#51D7D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #30812E

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

Preview Lab → · Contrast checker → · Palette generator →

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