#305B13#305B13

#305B13 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.4% C 0.111 H 135.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#305B13
RGBrgb(48, 91, 19)
HSLhsl(96, 65%, 22%)
HSVhsv(96, 79%, 36%)
CMYKcmyk(47.3%, 0%, 79.1%, 64.3%)
CIE-LABlab(34.31, -28.54, 34.66)
CIE-LCHlch(34.31, 44.89, 129.47°)
OKLaboklab(42.42% -0.0796 0.0778)
OKLCHoklch(42.42% 0.111 135.6)
XYZxyz(5.0774, 8.1573, 1.9229)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305B13 #3E135B
analogous
#545B13 #305B13 #135B1A
triadic
#305B13 #13305B #5B1330
tetradic
#305B13 #13545B #3E135B #5B1A13
square
#305B13 #13545B #3E135B #5B1A13
split-complementary
#305B13 #1A135B #5B1354
monochromatic
#0D1905 #152808 #305B13 #4B8E1E #65C028

Accessibility & contrast

On white

7.98
#305B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#305B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305B13
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305B13#FFFFFF#000000##FFFFFF
##305B131.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5306
Deuteranopia (green-blind)
#594F1A
Tritanopia (blue-blind)
#2F574D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #305b13;
/* rgb */ color: rgb(48, 91, 19);
/* oklch */ color: oklch(42.4% 0.111 135.6);
Tailwind
colors: {
  custom: {
    50: '#6d8a56',
    500: '#305b13',
    950: '#000000',
  },
}
SCSS
$custom: #305b13;
$custom-light: #6d8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#305b13",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 19
  },
  "hsl": {
    "h": 95.833,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42416,
    "c": 0.1113,
    "h": 135.6
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#305B13
secondary
#6E3793
accent
#3FE8A4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305B13

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

Preview Lab → · Contrast checker → · Palette generator →

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