#305F16#305F16

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

Color values

HEX#305F16
RGBrgb(48, 95, 22)
HSLhsl(99, 62%, 23%)
HSVhsv(99, 77%, 37%)
CMYKcmyk(49.5%, 0%, 76.8%, 62.7%)
CIE-LABlab(35.73, -30.11, 34.86)
CIE-LCHlch(35.73, 46.06, 130.82°)
OKLaboklab(43.59% -0.0836 0.0787)
OKLCHoklch(43.59% 0.115 136.7)
XYZxyz(5.4558, 8.8704, 2.1836)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F16 #45165F
analogous
#545F16 #305F16 #165F20
triadic
#305F16 #16305F #5F1630
tetradic
#305F16 #16545F #45165F #5F2016
square
#305F16 #16545F #45165F #5F2016
split-complementary
#305F16 #20165F #5F1654
monochromatic
#0D1906 #172D0A #305F16 #499122 #62C22D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##305F16#FFFFFF#000000##FFFFFF
##305F161.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)
#625609
Deuteranopia (green-blind)
#5C531D
Tritanopia (blue-blind)
#2E5B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305f16;
/* rgb */ color: rgb(48, 95, 22);
/* oklch */ color: oklch(43.6% 0.115 136.7);
Tailwind
colors: {
  custom: {
    50: '#6d8d58',
    500: '#305f16',
    950: '#000000',
  },
}
SCSS
$custom: #305f16;
$custom-light: #6d8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#305f16",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 98.63,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43592,
    "c": 0.11484,
    "h": 136.7
  },
  "luminance": 0.08871
}

Semantic roles & 50–950 ramp

primary
#305F16
secondary
#763B96
accent
#42E5AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #305F16

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

Preview Lab → · Contrast checker → · Palette generator →

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