#305A13#305A13

#305A13 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.1% C 0.110 H 135.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#305A13
RGBrgb(48, 90, 19)
HSLhsl(95, 65%, 21%)
HSVhsv(95, 79%, 35%)
CMYKcmyk(46.7%, 0%, 78.9%, 64.7%)
CIE-LABlab(33.96, -28.08, 34.31)
CIE-LCHlch(33.96, 44.33, 129.30°)
OKLaboklab(42.13% -0.0783 0.0771)
OKLCHoklch(42.13% 0.11 135.4)
XYZxyz(4.9925, 7.9874, 1.8946)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305A13 #3D135A
analogous
#545A13 #305A13 #135A1A
triadic
#305A13 #13305A #5A1330
tetradic
#305A13 #13545A #3D135A #5A1A13
square
#305A13 #13545A #3D135A #5A1A13
split-complementary
#305A13 #1A135A #5A1354
monochromatic
#0D1905 #152708 #305A13 #4B8D1E #66BF28

Accessibility & contrast

On white

8.08
#305A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#305A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305A13
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305A13#FFFFFF#000000##FFFFFF
##305A131.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5206
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#2F564C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #305a13;
/* rgb */ color: rgb(48, 90, 19);
/* oklch */ color: oklch(42.1% 0.110 135.4);
Tailwind
colors: {
  custom: {
    50: '#6d8956',
    500: '#305a13',
    950: '#000000',
  },
}
SCSS
$custom: #305a13;
$custom-light: #6d8956;
$custom-dark: #000000;
JSON
{
  "hex": "#305a13",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 95.493,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42127,
    "c": 0.1099,
    "h": 135.4
  },
  "luminance": 0.07988
}

Semantic roles & 50–950 ramp

primary
#305A13
secondary
#6D3792
accent
#40E8A3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305A13

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

Preview Lab → · Contrast checker → · Palette generator →

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