#305D13#305D13

#305D13 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.0% C 0.114 H 136.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#305D13
RGBrgb(48, 93, 19)
HSLhsl(96, 66%, 22%)
HSVhsv(96, 80%, 36%)
CMYKcmyk(48.4%, 0%, 79.6%, 63.5%)
CIE-LABlab(35.01, -29.45, 35.35)
CIE-LCHlch(35.01, 46.01, 129.79°)
OKLaboklab(42.99% -0.082 0.0793)
OKLCHoklch(42.99% 0.114 136)
XYZxyz(5.2507, 8.5038, 1.9807)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D13 #40135D
analogous
#555D13 #305D13 #135D1B
triadic
#305D13 #13305D #5D1330
tetradic
#305D13 #13555D #40135D #5D1B13
square
#305D13 #13555D #40135D #5D1B13
split-complementary
#305D13 #1B135D #5D1355
monochromatic
#0D1905 #162A09 #305D13 #4A901D #64C328

Accessibility & contrast

On white

7.78
#305D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#305D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305D13
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D13#FFFFFF#000000##FFFFFF
##305D131.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615505
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#2E594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305d13;
/* rgb */ color: rgb(48, 93, 19);
/* oklch */ color: oklch(43.0% 0.114 136.0);
Tailwind
colors: {
  custom: {
    50: '#6d8b57',
    500: '#305d13',
    950: '#000000',
  },
}
SCSS
$custom: #305d13;
$custom-light: #6d8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#305d13",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 19
  },
  "hsl": {
    "h": 96.486,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42992,
    "c": 0.11407,
    "h": 136
  },
  "luminance": 0.08504
}

Semantic roles & 50–950 ramp

primary
#305D13
secondary
#703795
accent
#3FE9A6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305D13

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

Preview Lab → · Contrast checker → · Palette generator →

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