#305C13#305C13

#305C13 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.7% C 0.113 H 135.8°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#305C13
RGBrgb(48, 92, 19)
HSLhsl(96, 66%, 22%)
HSVhsv(96, 79%, 36%)
CMYKcmyk(47.8%, 0%, 79.3%, 63.9%)
CIE-LABlab(34.66, -28.99, 35.00)
CIE-LCHlch(34.66, 45.45, 129.63°)
OKLaboklab(42.7% -0.0808 0.0786)
OKLCHoklch(42.7% 0.113 135.8)
XYZxyz(5.1635, 8.3294, 1.9516)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C13 #3F135C
analogous
#555C13 #305C13 #135C1A
triadic
#305C13 #13305C #5C1330
tetradic
#305C13 #13555C #3F135C #5C1A13
square
#305C13 #13555C #3F135C #5C1A13
split-complementary
#305C13 #1A135C #5C1355
monochromatic
#0D1905 #162909 #305C13 #4A8F1D #65C128

Accessibility & contrast

On white

7.88
#305C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#305C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305C13
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305C13#FFFFFF#000000##FFFFFF
##305C131.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605405
Deuteranopia (green-blind)
#5A501A
Tritanopia (blue-blind)
#2E584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #305c13;
/* rgb */ color: rgb(48, 92, 19);
/* oklch */ color: oklch(42.7% 0.113 135.8);
Tailwind
colors: {
  custom: {
    50: '#6d8a56',
    500: '#305c13',
    950: '#000000',
  },
}
SCSS
$custom: #305c13;
$custom-light: #6d8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#305c13",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 19
  },
  "hsl": {
    "h": 96.164,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42704,
    "c": 0.1127,
    "h": 135.8
  },
  "luminance": 0.0833
}

Semantic roles & 50–950 ramp

primary
#305C13
secondary
#6F3794
accent
#3FE9A5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305C13

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

Preview Lab → · Contrast checker → · Palette generator →

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