#305E14#305E14

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

Color values

HEX#305E14
RGBrgb(48, 94, 20)
HSLhsl(97, 65%, 22%)
HSVhsv(97, 79%, 37%)
CMYKcmyk(48.9%, 0%, 78.7%, 63.1%)
CIE-LABlab(35.37, -29.82, 35.31)
CIE-LCHlch(35.37, 46.22, 130.19°)
OKLaboklab(43.29% -0.083 0.0794)
OKLCHoklch(43.29% 0.115 136.3)
XYZxyz(5.3478, 8.6840, 2.0561)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E14 #42145E
analogous
#555E14 #305E14 #145E1D
triadic
#305E14 #14305E #5E1430
tetradic
#305E14 #14555E #42145E #5E1D14
square
#305E14 #14555E #42145E #5E1D14
split-complementary
#305E14 #1D145E #5E1455
monochromatic
#0D1905 #162C09 #305E14 #4A901F #64C329

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##305E14#FFFFFF#000000##FFFFFF
##305E141.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)
#625606
Deuteranopia (green-blind)
#5B521B
Tritanopia (blue-blind)
#2E5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #305e14;
/* rgb */ color: rgb(48, 94, 20);
/* oklch */ color: oklch(43.3% 0.115 136.3);
Tailwind
colors: {
  custom: {
    50: '#6d8c57',
    500: '#305e14',
    950: '#000000',
  },
}
SCSS
$custom: #305e14;
$custom-light: #6d8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#305e14",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 20
  },
  "hsl": {
    "h": 97.297,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43288,
    "c": 0.11481,
    "h": 136.3
  },
  "luminance": 0.08684
}

Semantic roles & 50–950 ramp

primary
#305E14
secondary
#723896
accent
#40E8A8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305E14

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

Preview Lab → · Contrast checker → · Palette generator →

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