#305515#305515

#305515 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.7% C 0.101 H 134.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#305515
RGBrgb(48, 85, 21)
HSLhsl(95, 60%, 21%)
HSVhsv(95, 75%, 33%)
CMYKcmyk(43.5%, 0%, 75.3%, 66.7%)
CIE-LABlab(32.21, -25.56, 31.68)
CIE-LCHlch(32.21, 40.71, 128.90°)
OKLaboklab(40.7% -0.0713 0.0719)
OKLCHoklch(40.7% 0.101 134.8)
XYZxyz(4.6027, 7.1793, 1.8525)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305515 #3A1555
analogous
#505515 #305515 #15551A
triadic
#305515 #153055 #551530
tetradic
#305515 #155055 #3A1555 #551A15
square
#305515 #155055 #3A1555 #551A15
split-complementary
#305515 #1A1555 #551550
monochromatic
#0E1906 #142409 #305515 #4C8621 #67B72D

Accessibility & contrast

On white

8.62
#305515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#305515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305515
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305515#FFFFFF#000000##FFFFFF
##3055151.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E0B
Deuteranopia (green-blind)
#534B1B
Tritanopia (blue-blind)
#2F5248
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #305515;
/* rgb */ color: rgb(48, 85, 21);
/* oklch */ color: oklch(40.7% 0.101 134.8);
Tailwind
colors: {
  custom: {
    50: '#6c8557',
    500: '#305515',
    950: '#000000',
  },
}
SCSS
$custom: #305515;
$custom-light: #6c8557;
$custom-dark: #000000;
JSON
{
  "hex": "#305515",
  "rgb": {
    "r": 48,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 94.688,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40703,
    "c": 0.10132,
    "h": 134.8
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#305515
secondary
#69398D
accent
#44E4A0
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305515

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

Preview Lab → · Contrast checker → · Palette generator →

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