#305713#305713

#305713 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.3% C 0.106 H 134.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#305713
RGBrgb(48, 87, 19)
HSLhsl(94, 64%, 21%)
HSVhsv(94, 78%, 34%)
CMYKcmyk(44.8%, 0%, 78.2%, 65.9%)
CIE-LABlab(32.90, -26.68, 33.25)
CIE-LCHlch(32.90, 42.63, 128.74°)
OKLaboklab(41.26% -0.0745 0.0749)
OKLCHoklch(41.26% 0.106 134.9)
XYZxyz(4.7446, 7.4915, 1.8120)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305713 #3A1357
analogous
#525713 #305713 #135718
triadic
#305713 #133057 #571330
tetradic
#305713 #135257 #3A1357 #571813
square
#305713 #135257 #3A1357 #571813
split-complementary
#305713 #181357 #571352
monochromatic
#0E1905 #142508 #305713 #4C891E #67BB29

Accessibility & contrast

On white

8.41
#305713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#305713 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305713
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305713#FFFFFF#000000##FFFFFF
##3057131.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F07
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#2F534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #305713;
/* rgb */ color: rgb(48, 87, 19);
/* oklch */ color: oklch(41.3% 0.106 134.9);
Tailwind
colors: {
  custom: {
    50: '#6c8756',
    500: '#305713',
    950: '#000000',
  },
}
SCSS
$custom: #305713;
$custom-light: #6c8756;
$custom-dark: #000000;
JSON
{
  "hex": "#305713",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 19
  },
  "hsl": {
    "h": 94.412,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41262,
    "c": 0.10566,
    "h": 134.9
  },
  "luminance": 0.07492
}

Semantic roles & 50–950 ramp

primary
#305713
secondary
#69368F
accent
#41E7A0
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305713

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

Preview Lab → · Contrast checker → · Palette generator →

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