#305316#305316

#305316 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.1% C 0.098 H 134.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#305316
RGBrgb(48, 83, 22)
HSLhsl(94, 58%, 21%)
HSVhsv(94, 73%, 33%)
CMYKcmyk(42.2%, 0%, 73.5%, 67.5%)
CIE-LABlab(31.52, -24.50, 30.50)
CIE-LCHlch(31.52, 39.12, 128.78°)
OKLaboklab(40.14% -0.0684 0.0696)
OKLCHoklch(40.14% 0.098 134.5)
XYZxyz(4.4569, 6.8726, 1.8506)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305316 #391653
analogous
#4E5316 #305316 #16531A
triadic
#305316 #163053 #531630
tetradic
#305316 #164E53 #391653 #531A16
square
#305316 #164E53 #391653 #531A16
split-complementary
#305316 #1A1653 #53164E
monochromatic
#0E1806 #142309 #305316 #4C8323 #68B430

Accessibility & contrast

On white

8.84
#305316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#305316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305316
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305316#FFFFFF#000000##FFFFFF
##3053161.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0D
Deuteranopia (green-blind)
#52491B
Tritanopia (blue-blind)
#305047
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #305316;
/* rgb */ color: rgb(48, 83, 22);
/* oklch */ color: oklch(40.1% 0.098 134.5);
Tailwind
colors: {
  custom: {
    50: '#6c8357',
    500: '#305316',
    950: '#000000',
  },
}
SCSS
$custom: #305316;
$custom-light: #6c8357;
$custom-dark: #000000;
JSON
{
  "hex": "#305316",
  "rgb": {
    "r": 48,
    "g": 83,
    "b": 22
  },
  "hsl": {
    "h": 94.426,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40136,
    "c": 0.09758,
    "h": 134.5
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#305316
secondary
#683A8A
accent
#46E19F
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #305316

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

Preview Lab → · Contrast checker → · Palette generator →

#305316 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva