#305C16#305C16

#305C16 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.7% C 0.111 H 136.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#305C16
RGBrgb(48, 92, 22)
HSLhsl(98, 61%, 22%)
HSVhsv(98, 76%, 36%)
CMYKcmyk(47.8%, 0%, 76.1%, 63.9%)
CIE-LABlab(34.68, -28.76, 33.79)
CIE-LCHlch(34.68, 44.37, 130.40°)
OKLaboklab(42.73% -0.0799 0.0765)
OKLCHoklch(42.73% 0.111 136.3)
XYZxyz(5.1907, 8.3403, 2.0952)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C16 #42165C
analogous
#535C16 #305C16 #165C1F
triadic
#305C16 #16305C #5C1630
tetradic
#305C16 #16535C #42165C #5C1F16
square
#305C16 #16535C #42165C #5C1F16
split-complementary
#305C16 #1F165C #5C1653
monochromatic
#0D1906 #162B0A #305C16 #4A8D22 #64BF2E

Accessibility & contrast

On white

7.87
#305C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#305C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305C16
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305C16#FFFFFF#000000##FFFFFF
##305C161.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540A
Deuteranopia (green-blind)
#5A501D
Tritanopia (blue-blind)
#2E584E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305c16;
/* rgb */ color: rgb(48, 92, 22);
/* oklch */ color: oklch(42.7% 0.111 136.3);
Tailwind
colors: {
  custom: {
    50: '#6d8a58',
    500: '#305c16',
    950: '#000000',
  },
}
SCSS
$custom: #305c16;
$custom-light: #6d8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#305c16",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 22
  },
  "hsl": {
    "h": 97.714,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42729,
    "c": 0.11063,
    "h": 136.3
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#305C16
secondary
#723B93
accent
#43E5A9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305C16

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

Preview Lab → · Contrast checker → · Palette generator →

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