#305F13#305F13

#305F13 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 43.6% C 0.117 H 136.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#305F13
RGBrgb(48, 95, 19)
HSLhsl(97, 67%, 22%)
HSVhsv(97, 80%, 37%)
CMYKcmyk(49.5%, 0%, 80%, 62.7%)
CIE-LABlab(35.71, -30.34, 36.04)
CIE-LCHlch(35.71, 47.11, 130.10°)
OKLaboklab(43.57% -0.0844 0.0807)
OKLCHoklch(43.57% 0.117 136.3)
XYZxyz(5.4285, 8.8595, 2.0400)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F13 #42135F
analogous
#565F13 #305F13 #135F1C
triadic
#305F13 #13305F #5F1330
tetradic
#305F13 #13565F #42135F #5F1C13
square
#305F13 #13565F #42135F #5F1C13
split-complementary
#305F13 #1C135F #5F1356
monochromatic
#0D1A05 #162C09 #305F13 #4A921D #64C527

Accessibility & contrast

On white

7.58
#305F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#305F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305F13
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F13#FFFFFF#000000##FFFFFF
##305F131.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635604
Deuteranopia (green-blind)
#5C531B
Tritanopia (blue-blind)
#2E5B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305f13;
/* rgb */ color: rgb(48, 95, 19);
/* oklch */ color: oklch(43.6% 0.117 136.3);
Tailwind
colors: {
  custom: {
    50: '#6d8d57',
    500: '#305f13',
    950: '#000000',
  },
}
SCSS
$custom: #305f13;
$custom-light: #6d8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#305f13",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 97.105,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43568,
    "c": 0.11682,
    "h": 136.3
  },
  "luminance": 0.0886
}

Semantic roles & 50–950 ramp

primary
#305F13
secondary
#723797
accent
#3EEAA8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305F13

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

Preview Lab → · Contrast checker → · Palette generator →

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