#305E16#305E16

#305E16 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.3% C 0.113 H 136.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#305E16
RGBrgb(48, 94, 22)
HSLhsl(98, 62%, 23%)
HSVhsv(98, 77%, 37%)
CMYKcmyk(48.9%, 0%, 76.6%, 63.1%)
CIE-LABlab(35.38, -29.66, 34.50)
CIE-LCHlch(35.38, 45.50, 130.69°)
OKLaboklab(43.31% -0.0824 0.078)
OKLCHoklch(43.31% 0.113 136.6)
XYZxyz(5.3663, 8.6914, 2.1537)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E16 #44165E
analogous
#545E16 #305E16 #165E20
triadic
#305E16 #16305E #5E1630
tetradic
#305E16 #16545E #44165E #5E2016
square
#305E16 #16545E #44165E #5E2016
split-complementary
#305E16 #20165E #5E1654
monochromatic
#0D1906 #172C0A #305E16 #499022 #63C12D

Accessibility & contrast

On white

7.67
#305E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#305E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305E16
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E16#FFFFFF#000000##FFFFFF
##305E161.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61560A
Deuteranopia (green-blind)
#5B521D
Tritanopia (blue-blind)
#2E5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #305e16;
/* rgb */ color: rgb(48, 94, 22);
/* oklch */ color: oklch(43.3% 0.113 136.6);
Tailwind
colors: {
  custom: {
    50: '#6d8c58',
    500: '#305e16',
    950: '#000000',
  },
}
SCSS
$custom: #305e16;
$custom-light: #6d8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#305e16",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 22
  },
  "hsl": {
    "h": 98.333,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43305,
    "c": 0.11344,
    "h": 136.6
  },
  "luminance": 0.08692
}

Semantic roles & 50–950 ramp

primary
#305E16
secondary
#743B95
accent
#43E5AA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305E16

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

Preview Lab → · Contrast checker → · Palette generator →

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