#305813#305813

#305813 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.5% C 0.107 H 135.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#305813
RGBrgb(48, 88, 19)
HSLhsl(95, 64%, 21%)
HSVhsv(95, 78%, 35%)
CMYKcmyk(45.5%, 0%, 78.4%, 65.5%)
CIE-LABlab(33.25, -27.15, 33.60)
CIE-LCHlch(33.25, 43.20, 128.93°)
OKLaboklab(41.55% -0.0758 0.0756)
OKLCHoklch(41.55% 0.107 135.1)
XYZxyz(4.8261, 7.6546, 1.8392)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305813 #3B1358
analogous
#525813 #305813 #135818
triadic
#305813 #133058 #581330
tetradic
#305813 #135258 #3B1358 #581813
square
#305813 #135258 #3B1358 #581813
split-complementary
#305813 #181358 #581352
monochromatic
#0E1905 #152608 #305813 #4B8A1E #67BD29

Accessibility & contrast

On white

8.30
#305813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#305813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305813
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305813#FFFFFF#000000##FFFFFF
##3058131.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5007
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#2F544B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #305813;
/* rgb */ color: rgb(48, 88, 19);
/* oklch */ color: oklch(41.5% 0.107 135.1);
Tailwind
colors: {
  custom: {
    50: '#6c8756',
    500: '#305813',
    950: '#000000',
  },
}
SCSS
$custom: #305813;
$custom-light: #6c8756;
$custom-dark: #000000;
JSON
{
  "hex": "#305813",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 94.783,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4155,
    "c": 0.10708,
    "h": 135.1
  },
  "luminance": 0.07655
}

Semantic roles & 50–950 ramp

primary
#305813
secondary
#6B3790
accent
#40E7A1
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305813

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

Preview Lab → · Contrast checker → · Palette generator →

#305813 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva