#306014#306014

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

Color values

HEX#306014
RGBrgb(48, 96, 20)
HSLhsl(98, 66%, 23%)
HSVhsv(98, 79%, 38%)
CMYKcmyk(50%, 0%, 79.2%, 62.4%)
CIE-LABlab(36.07, -30.72, 36.00)
CIE-LCHlch(36.07, 47.33, 130.47°)
OKLaboklab(43.86% -0.0854 0.0808)
OKLCHoklch(43.86% 0.118 136.6)
XYZxyz(5.5279, 9.0443, 2.1161)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306014 #441460
analogous
#566014 #306014 #14601E
triadic
#306014 #143060 #601430
tetradic
#306014 #145660 #441460 #601E14
square
#306014 #145660 #441460 #601E14
split-complementary
#306014 #1E1460 #601456
monochromatic
#0D1905 #172D09 #306014 #49931F #63C529

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306014#FFFFFF#000000##FFFFFF
##3060141.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)
#645705
Deuteranopia (green-blind)
#5D531C
Tritanopia (blue-blind)
#2E5C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #306014;
/* rgb */ color: rgb(48, 96, 20);
/* oklch */ color: oklch(43.9% 0.118 136.6);
Tailwind
colors: {
  custom: {
    50: '#6e8d58',
    500: '#306014',
    950: '#000000',
  },
}
SCSS
$custom: #306014;
$custom-light: #6e8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#306014",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 20
  },
  "hsl": {
    "h": 97.895,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43863,
    "c": 0.11755,
    "h": 136.6
  },
  "luminance": 0.09045
}

Semantic roles & 50–950 ramp

primary
#306014
secondary
#743898
accent
#3FE8AA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #306014

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

Preview Lab → · Contrast checker → · Palette generator →

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