#306013#306013

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

Color values

HEX#306013
RGBrgb(48, 96, 19)
HSLhsl(97, 67%, 23%)
HSVhsv(97, 80%, 38%)
CMYKcmyk(50%, 0%, 80.2%, 62.4%)
CIE-LABlab(36.06, -30.79, 36.38)
CIE-LCHlch(36.06, 47.66, 130.24°)
OKLaboklab(43.86% -0.0856 0.0814)
OKLCHoklch(43.86% 0.118 136.4)
XYZxyz(5.5192, 9.0408, 2.0702)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306013 #431360
analogous
#566013 #306013 #13601D
triadic
#306013 #133060 #601330
tetradic
#306013 #135660 #431360 #601D13
square
#306013 #135660 #431360 #601D13
split-complementary
#306013 #1D1360 #601356
monochromatic
#0D1A05 #162D09 #306013 #4A931D #63C627

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306013#FFFFFF#000000##FFFFFF
##3060131.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)
#645704
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#2E5C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #306013;
/* rgb */ color: rgb(48, 96, 19);
/* oklch */ color: oklch(43.9% 0.118 136.4);
Tailwind
colors: {
  custom: {
    50: '#6e8d57',
    500: '#306013',
    950: '#000000',
  },
}
SCSS
$custom: #306013;
$custom-light: #6e8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#306013",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 19
  },
  "hsl": {
    "h": 97.403,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43856,
    "c": 0.11818,
    "h": 136.4
  },
  "luminance": 0.09041
}

Semantic roles & 50–950 ramp

primary
#306013
secondary
#733798
accent
#3EEAA9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #306013

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

Preview Lab → · Contrast checker → · Palette generator →

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