#30702F#30702F

#30702F is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.7% C 0.118 H 143.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#30702F
RGBrgb(48, 112, 47)
HSLhsl(119, 41%, 31%)
HSVhsv(119, 58%, 44%)
CMYKcmyk(57.1%, 0%, 58%, 56.1%)
CIE-LABlab(41.88, -34.77, 29.68)
CIE-LCHlch(41.88, 45.72, 139.51°)
OKLaboklab(48.72% -0.0946 0.0707)
OKLCHoklch(48.72% 0.118 143.2)
XYZxyz(7.5258, 12.4213, 4.6897)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30702F #6F2F70
analogous
#50702F #30702F #2F704E
triadic
#30702F #2F3070 #702F30
tetradic
#30702F #2F5070 #6F2F70 #704E2F
square
#30702F #2F5070 #6F2F70 #704E2F
split-complementary
#30702F #4E2F70 #702F50
monochromatic
#0B1A0B #1E451D #30702F #429B41 #5FBB5E

Accessibility & contrast

On white

6.03
#30702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#30702F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30702F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30702F#FFFFFF#000000##FFFFFF
##30702F1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#6A6134
Tritanopia (blue-blind)
#266D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #30702f;
/* rgb */ color: rgb(48, 112, 47);
/* oklch */ color: oklch(48.7% 0.118 143.2);
Tailwind
colors: {
  custom: {
    50: '#6f9a69',
    500: '#30702f',
    950: '#000000',
  },
}
SCSS
$custom: #30702f;
$custom-light: #6f9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#30702f",
  "rgb": {
    "r": 48,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 119.077,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.48724,
    "c": 0.11804,
    "h": 143.2
  },
  "luminance": 0.12422
}

Semantic roles & 50–950 ramp

primary
#30702F
secondary
#A05AA1
accent
#57D1CF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #30702F

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

Preview Lab → · Contrast checker → · Palette generator →

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