#305F14#305F14

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

Color values

HEX#305F14
RGBrgb(48, 95, 20)
HSLhsl(98, 65%, 23%)
HSVhsv(98, 79%, 37%)
CMYKcmyk(49.5%, 0%, 78.9%, 62.7%)
CIE-LABlab(35.72, -30.27, 35.66)
CIE-LCHlch(35.72, 46.77, 130.33°)
OKLaboklab(43.58% -0.0842 0.0801)
OKLCHoklch(43.58% 0.116 136.4)
XYZxyz(5.4372, 8.8630, 2.0859)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F14 #43145F
analogous
#555F14 #305F14 #145F1E
triadic
#305F14 #14305F #5F1430
tetradic
#305F14 #14555F #43145F #5F1E14
square
#305F14 #14555F #43145F #5F1E14
split-complementary
#305F14 #1E145F #5F1455
monochromatic
#0D1905 #162C09 #305F14 #4A921F #63C429

Accessibility & contrast

On white

7.57
#305F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #305F14
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F14#FFFFFF#000000##FFFFFF
##305F141.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635606
Deuteranopia (green-blind)
#5C531C
Tritanopia (blue-blind)
#2E5B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305f14;
/* rgb */ color: rgb(48, 95, 20);
/* oklch */ color: oklch(43.6% 0.116 136.4);
Tailwind
colors: {
  custom: {
    50: '#6d8d57',
    500: '#305f14',
    950: '#000000',
  },
}
SCSS
$custom: #305f14;
$custom-light: #6d8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#305f14",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 20
  },
  "hsl": {
    "h": 97.6,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43576,
    "c": 0.11619,
    "h": 136.4
  },
  "luminance": 0.08863
}

Semantic roles & 50–950 ramp

primary
#305F14
secondary
#733897
accent
#40E8A9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305F14

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

Preview Lab → · Contrast checker → · Palette generator →

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