#305E13#305E13

#305E13 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.3% C 0.115 H 136.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#305E13
RGBrgb(48, 94, 19)
HSLhsl(97, 66%, 22%)
HSVhsv(97, 80%, 37%)
CMYKcmyk(48.9%, 0%, 79.8%, 63.1%)
CIE-LABlab(35.36, -29.90, 35.70)
CIE-LCHlch(35.36, 46.56, 129.95°)
OKLaboklab(43.28% -0.0832 0.08)
OKLCHoklch(43.28% 0.115 136.1)
XYZxyz(5.3390, 8.6805, 2.0101)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E13 #41135E
analogous
#565E13 #305E13 #135E1C
triadic
#305E13 #13305E #5E1330
tetradic
#305E13 #13565E #41135E #5E1C13
square
#305E13 #13565E #41135E #5E1C13
split-complementary
#305E13 #1C135E #5E1356
monochromatic
#0D1905 #162B09 #305E13 #4A911D #64C428

Accessibility & contrast

On white

7.67
#305E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#305E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305E13
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E13#FFFFFF#000000##FFFFFF
##305E131.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625604
Deuteranopia (green-blind)
#5B521B
Tritanopia (blue-blind)
#2E5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #305e13;
/* rgb */ color: rgb(48, 94, 19);
/* oklch */ color: oklch(43.3% 0.115 136.1);
Tailwind
colors: {
  custom: {
    50: '#6d8c57',
    500: '#305e13',
    950: '#000000',
  },
}
SCSS
$custom: #305e13;
$custom-light: #6d8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#305e13",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 19
  },
  "hsl": {
    "h": 96.8,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4328,
    "c": 0.11546,
    "h": 136.1
  },
  "luminance": 0.08681
}

Semantic roles & 50–950 ramp

primary
#305E13
secondary
#713796
accent
#3FE9A7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305E13

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

Preview Lab → · Contrast checker → · Palette generator →

#305E13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva