#305C14#305C14

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

Color values

HEX#305C14
RGBrgb(48, 92, 20)
HSLhsl(97, 64%, 22%)
HSVhsv(97, 78%, 36%)
CMYKcmyk(47.8%, 0%, 78.3%, 63.9%)
CIE-LABlab(34.67, -28.92, 34.61)
CIE-LCHlch(34.67, 45.10, 129.88°)
OKLaboklab(42.71% -0.0805 0.0779)
OKLCHoklch(42.71% 0.112 135.9)
XYZxyz(5.1722, 8.3329, 1.9976)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C14 #40145C
analogous
#545C14 #305C14 #145C1C
triadic
#305C14 #14305C #5C1430
tetradic
#305C14 #14545C #40145C #5C1C14
square
#305C14 #14545C #40145C #5C1C14
split-complementary
#305C14 #1C145C #5C1454
monochromatic
#0D1905 #162A09 #305C14 #4A8E1F #64C12A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##305C14#FFFFFF#000000##FFFFFF
##305C141.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)
#605407
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#2E584E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305c14;
/* rgb */ color: rgb(48, 92, 20);
/* oklch */ color: oklch(42.7% 0.112 135.9);
Tailwind
colors: {
  custom: {
    50: '#6d8a57',
    500: '#305c14',
    950: '#000000',
  },
}
SCSS
$custom: #305c14;
$custom-light: #6d8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#305c14",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 20
  },
  "hsl": {
    "h": 96.667,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42712,
    "c": 0.11203,
    "h": 135.9
  },
  "luminance": 0.08333
}

Semantic roles & 50–950 ramp

primary
#305C14
secondary
#703894
accent
#41E7A6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305C14

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

Preview Lab → · Contrast checker → · Palette generator →

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