#305D16#305D16

#305D16 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.0% C 0.112 H 136.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#305D16
RGBrgb(48, 93, 22)
HSLhsl(98, 62%, 23%)
HSVhsv(98, 76%, 36%)
CMYKcmyk(48.4%, 0%, 76.3%, 63.5%)
CIE-LABlab(35.03, -29.21, 34.15)
CIE-LCHlch(35.03, 44.94, 130.55°)
OKLaboklab(43.02% -0.0812 0.0772)
OKLCHoklch(43.02% 0.112 136.4)
XYZxyz(5.2779, 8.5147, 2.1243)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D16 #43165D
analogous
#545D16 #305D16 #165D1F
triadic
#305D16 #16305D #5D1630
tetradic
#305D16 #16545D #43165D #5D1F16
square
#305D16 #16545D #43165D #5D1F16
split-complementary
#305D16 #1F165D #5D1654
monochromatic
#0D1906 #162C0A #305D16 #4A8E22 #63C02D

Accessibility & contrast

On white

7.77
#305D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#305D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305D16
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D16#FFFFFF#000000##FFFFFF
##305D161.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550A
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#2E594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305d16;
/* rgb */ color: rgb(48, 93, 22);
/* oklch */ color: oklch(43.0% 0.112 136.4);
Tailwind
colors: {
  custom: {
    50: '#6d8b58',
    500: '#305d16',
    950: '#000000',
  },
}
SCSS
$custom: #305d16;
$custom-light: #6d8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#305d16",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 22
  },
  "hsl": {
    "h": 98.028,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43017,
    "c": 0.11204,
    "h": 136.4
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#305D16
secondary
#733B94
accent
#43E5AA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305D16

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

Preview Lab → · Contrast checker → · Palette generator →

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