#30812F#30812F

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

Color values

HEX#30812F
RGBrgb(48, 129, 47)
HSLhsl(119, 47%, 35%)
HSVhsv(119, 64%, 51%)
CMYKcmyk(62.8%, 0%, 63.6%, 49.4%)
CIE-LABlab(47.67, -41.72, 36.40)
CIE-LCHlch(47.67, 55.37, 138.89°)
OKLaboklab(53.49% -0.1134 0.0852)
OKLCHoklch(53.49% 0.142 143.1)
XYZxyz(9.5817, 16.5332, 5.3751)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30812F #802F81
analogous
#59812F #30812F #2F8157
triadic
#30812F #2F3081 #812F30
tetradic
#30812F #2F5981 #802F81 #81572F
square
#30812F #2F5981 #802F81 #81572F
split-complementary
#30812F #572F81 #812F59
monochromatic
#0F270E #1F541F #30812F #41AE3F #65C664

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30812F#FFFFFF#000000##FFFFFF
##30812F1.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)
#847526
Deuteranopia (green-blind)
#7A6E36
Tritanopia (blue-blind)
#217D70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #30812f;
/* rgb */ color: rgb(48, 129, 47);
/* oklch */ color: oklch(53.5% 0.142 143.1);
Tailwind
colors: {
  custom: {
    50: '#72a66b',
    500: '#30812f',
    950: '#000000',
  },
}
SCSS
$custom: #30812f;
$custom-light: #72a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#30812f",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 119.268,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53493,
    "c": 0.14181,
    "h": 143.1
  },
  "luminance": 0.16534
}

Semantic roles & 50–950 ramp

primary
#30812F
secondary
#AC5EAD
accent
#52D6D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #30812F

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

Preview Lab → · Contrast checker → · Palette generator →

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