#30620F#30620F

#30620F is a dark, vivid yellow-green. Relative luminance 0.094; OKLCH L 44.4% C 0.123 H 136.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#30620F
RGBrgb(48, 98, 15)
HSLhsl(96, 73%, 22%)
HSVhsv(96, 85%, 38%)
CMYKcmyk(51%, 0%, 84.7%, 61.6%)
CIE-LABlab(36.74, -31.93, 38.45)
CIE-LCHlch(36.74, 49.98, 129.70°)
OKLaboklab(44.4% -0.089 0.0851)
OKLCHoklch(44.4% 0.123 136.3)
XYZxyz(5.6727, 9.3979, 1.9669)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30620F #410F62
analogous
#59620F #30620F #0F6218
triadic
#30620F #0F3062 #620F30
tetradic
#30620F #0F5962 #410F62 #62180F
square
#30620F #0F5962 #410F62 #62180F
split-complementary
#30620F #180F62 #620F59
monochromatic
#0D1B04 #162D07 #30620F #4A9717 #64CC1F

Accessibility & contrast

On white

7.29
#30620F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#30620F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30620F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30620F#FFFFFF#000000##FFFFFF
##30620F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#2E5E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #30620f;
/* rgb */ color: rgb(48, 98, 15);
/* oklch */ color: oklch(44.4% 0.123 136.3);
Tailwind
colors: {
  custom: {
    50: '#6e8f56',
    500: '#30620f',
    950: '#000000',
  },
}
SCSS
$custom: #30620f;
$custom-light: #6e8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#30620f",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 15
  },
  "hsl": {
    "h": 96.145,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44404,
    "c": 0.12313,
    "h": 136.3
  },
  "luminance": 0.09398
}

Semantic roles & 50–950 ramp

primary
#30620F
secondary
#71329B
accent
#38F0A7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #30620F

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

Preview Lab → · Contrast checker → · Palette generator →

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