#305C15#305C15

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

Color values

HEX#305C15
RGBrgb(48, 92, 21)
HSLhsl(97, 63%, 22%)
HSVhsv(97, 77%, 36%)
CMYKcmyk(47.8%, 0%, 77.2%, 63.9%)
CIE-LABlab(34.67, -28.84, 34.20)
CIE-LCHlch(34.67, 44.74, 130.14°)
OKLaboklab(42.72% -0.0802 0.0772)
OKLCHoklch(42.72% 0.111 136.1)
XYZxyz(5.1813, 8.3365, 2.0454)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C15 #41155C
analogous
#545C15 #305C15 #155C1E
triadic
#305C15 #15305C #5C1530
tetradic
#305C15 #15545C #41155C #5C1E15
square
#305C15 #15545C #41155C #5C1E15
split-complementary
#305C15 #1E155C #5C1554
monochromatic
#0D1906 #162A0A #305C15 #4A8E20 #64C02C

Accessibility & contrast

On white

7.87
#305C15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #305C15
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305C15#FFFFFF#000000##FFFFFF
##305C151.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5409
Deuteranopia (green-blind)
#5A501C
Tritanopia (blue-blind)
#2E584E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305c15;
/* rgb */ color: rgb(48, 92, 21);
/* oklch */ color: oklch(42.7% 0.111 136.1);
Tailwind
colors: {
  custom: {
    50: '#6d8a57',
    500: '#305c15',
    950: '#000000',
  },
}
SCSS
$custom: #305c15;
$custom-light: #6d8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#305c15",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 21
  },
  "hsl": {
    "h": 97.183,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4272,
    "c": 0.11134,
    "h": 136.1
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#305C15
secondary
#713993
accent
#42E6A8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305C15

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

Preview Lab → · Contrast checker → · Palette generator →

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