#306010#306010

#306010 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 43.8% C 0.120 H 136.1°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#306010
RGBrgb(48, 96, 16)
HSLhsl(96, 71%, 22%)
HSVhsv(96, 83%, 38%)
CMYKcmyk(50%, 0%, 83.3%, 62.4%)
CIE-LABlab(36.04, -30.99, 37.46)
CIE-LCHlch(36.04, 48.62, 129.60°)
OKLaboklab(43.84% -0.0864 0.0832)
OKLCHoklch(43.84% 0.12 136.1)
XYZxyz(5.4952, 9.0312, 1.9437)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306010 #401060
analogous
#586010 #306010 #106018
triadic
#306010 #103060 #601030
tetradic
#306010 #105860 #401060 #601810
square
#306010 #105860 #401060 #601810
split-complementary
#306010 #181060 #601058
monochromatic
#0D1A04 #162C07 #306010 #4A9419 #64C921

Accessibility & contrast

On white

7.48
#306010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #306010
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306010#FFFFFF#000000##FFFFFF
##3060101.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #306010;
/* rgb */ color: rgb(48, 96, 16);
/* oklch */ color: oklch(43.8% 0.120 136.1);
Tailwind
colors: {
  custom: {
    50: '#6e8d56',
    500: '#306010',
    950: '#000000',
  },
}
SCSS
$custom: #306010;
$custom-light: #6e8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#306010",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 16
  },
  "hsl": {
    "h": 96,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43835,
    "c": 0.11995,
    "h": 136.1
  },
  "luminance": 0.09032
}

Semantic roles & 50–950 ramp

primary
#306010
secondary
#703399
accent
#3AEEA6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #306010

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

Preview Lab → · Contrast checker → · Palette generator →

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