#305E15#305E15

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

Color values

HEX#305E15
RGBrgb(48, 94, 21)
HSLhsl(98, 63%, 23%)
HSVhsv(98, 78%, 37%)
CMYKcmyk(48.9%, 0%, 77.7%, 63.1%)
CIE-LABlab(35.38, -29.75, 34.91)
CIE-LCHlch(35.38, 45.86, 130.43°)
OKLaboklab(43.3% -0.0827 0.0787)
OKLCHoklch(43.3% 0.114 136.4)
XYZxyz(5.3568, 8.6876, 2.1039)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E15 #43155E
analogous
#555E15 #305E15 #155E1E
triadic
#305E15 #15305E #5E1530
tetradic
#305E15 #15555E #43155E #5E1E15
square
#305E15 #15555E #43155E #5E1E15
split-complementary
#305E15 #1E155E #5E1555
monochromatic
#0D1906 #162C0A #305E15 #4A9020 #63C22B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##305E15#FFFFFF#000000##FFFFFF
##305E151.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)
#615608
Deuteranopia (green-blind)
#5B521C
Tritanopia (blue-blind)
#2E5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #305e15;
/* rgb */ color: rgb(48, 94, 21);
/* oklch */ color: oklch(43.3% 0.114 136.4);
Tailwind
colors: {
  custom: {
    50: '#6d8c58',
    500: '#305e15',
    950: '#000000',
  },
}
SCSS
$custom: #305e15;
$custom-light: #6d8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#305e15",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 21
  },
  "hsl": {
    "h": 97.808,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43296,
    "c": 0.11413,
    "h": 136.4
  },
  "luminance": 0.08688
}

Semantic roles & 50–950 ramp

primary
#305E15
secondary
#733995
accent
#41E7A9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305E15

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

Preview Lab → · Contrast checker → · Palette generator →

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