#305319#305319

#305319 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.2% C 0.095 H 135.1°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#305319
RGBrgb(48, 83, 25)
HSLhsl(96, 54%, 21%)
HSVhsv(96, 70%, 33%)
CMYKcmyk(42.2%, 0%, 69.9%, 67.5%)
CIE-LABlab(31.54, -24.21, 29.10)
CIE-LCHlch(31.54, 37.85, 129.77°)
OKLaboklab(40.17% -0.0673 0.0671)
OKLCHoklch(40.17% 0.095 135.1)
XYZxyz(4.4875, 6.8849, 2.0120)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305319 #3C1953
analogous
#4D5319 #305319 #19531F
triadic
#305319 #193053 #531930
tetradic
#305319 #194D53 #3C1953 #531F19
square
#305319 #194D53 #3C1953 #531F19
split-complementary
#305319 #1F1953 #53194D
monochromatic
#0E1807 #15240B #305319 #4B8227 #66B135

Accessibility & contrast

On white

8.83
#305319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#305319 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305319
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305319#FFFFFF#000000##FFFFFF
##3053191.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C12
Deuteranopia (green-blind)
#51491E
Tritanopia (blue-blind)
#2F5047
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #305319;
/* rgb */ color: rgb(48, 83, 25);
/* oklch */ color: oklch(40.2% 0.095 135.1);
Tailwind
colors: {
  custom: {
    50: '#6b8359',
    500: '#305319',
    950: '#000000',
  },
}
SCSS
$custom: #305319;
$custom-light: #6b8359;
$custom-dark: #000000;
JSON
{
  "hex": "#305319",
  "rgb": {
    "r": 48,
    "g": 83,
    "b": 25
  },
  "hsl": {
    "h": 96.207,
    "s": 53.704,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40168,
    "c": 0.09504,
    "h": 135.1
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#305319
secondary
#6C3E89
accent
#4BDDA3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #305319

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

Preview Lab → · Contrast checker → · Palette generator →

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