#306015#306015

#306015 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 43.9% C 0.117 H 136.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#306015
RGBrgb(48, 96, 21)
HSLhsl(98, 64%, 23%)
HSVhsv(98, 78%, 38%)
CMYKcmyk(50%, 0%, 78.1%, 62.4%)
CIE-LABlab(36.08, -30.64, 35.61)
CIE-LCHlch(36.08, 46.98, 130.71°)
OKLaboklab(43.87% -0.0851 0.0802)
OKLCHoklch(43.87% 0.117 136.7)
XYZxyz(5.5370, 9.0479, 2.1640)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306015 #451560
analogous
#556015 #306015 #15601F
triadic
#306015 #153060 #601530
tetradic
#306015 #155560 #451560 #601F15
square
#306015 #155560 #451560 #601F15
split-complementary
#306015 #1F1560 #601555
monochromatic
#0D1905 #172E0A #306015 #499220 #62C42B

Accessibility & contrast

On white

7.47
#306015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#306015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306015
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306015#FFFFFF#000000##FFFFFF
##3060151.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635707
Deuteranopia (green-blind)
#5D531C
Tritanopia (blue-blind)
#2E5C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #306015;
/* rgb */ color: rgb(48, 96, 21);
/* oklch */ color: oklch(43.9% 0.117 136.7);
Tailwind
colors: {
  custom: {
    50: '#6e8d58',
    500: '#306015',
    950: '#000000',
  },
}
SCSS
$custom: #306015;
$custom-light: #6e8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#306015",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 98.4,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43871,
    "c": 0.11689,
    "h": 136.7
  },
  "luminance": 0.09048
}

Semantic roles & 50–950 ramp

primary
#306015
secondary
#763A97
accent
#41E7AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #306015

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

Preview Lab → · Contrast checker → · Palette generator →

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