#305D14#305D14

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

Color values

HEX#305D14
RGBrgb(48, 93, 20)
HSLhsl(97, 65%, 22%)
HSVhsv(97, 78%, 36%)
CMYKcmyk(48.4%, 0%, 78.5%, 63.5%)
CIE-LABlab(35.02, -29.37, 34.96)
CIE-LCHlch(35.02, 45.66, 130.04°)
OKLaboklab(43% -0.0817 0.0786)
OKLCHoklch(43% 0.113 136.1)
XYZxyz(5.2594, 8.5073, 2.0266)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D14 #41145D
analogous
#555D14 #305D14 #145D1C
triadic
#305D14 #14305D #5D1430
tetradic
#305D14 #14555D #41145D #5D1C14
square
#305D14 #14555D #41145D #5D1C14
split-complementary
#305D14 #1C145D #5D1455
monochromatic
#0D1905 #162B09 #305D14 #4A8F1F #64C22A

Accessibility & contrast

On white

7.77
#305D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #305D14
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D14#FFFFFF#000000##FFFFFF
##305D141.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #305d14;
/* rgb */ color: rgb(48, 93, 20);
/* oklch */ color: oklch(43.0% 0.113 136.1);
Tailwind
colors: {
  custom: {
    50: '#6d8b57',
    500: '#305d14',
    950: '#000000',
  },
}
SCSS
$custom: #305d14;
$custom-light: #6d8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#305d14",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 20
  },
  "hsl": {
    "h": 96.986,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43,
    "c": 0.11342,
    "h": 136.1
  },
  "luminance": 0.08508
}

Semantic roles & 50–950 ramp

primary
#305D14
secondary
#713895
accent
#40E8A7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305D14

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

Preview Lab → · Contrast checker → · Palette generator →

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