#306414#306414

#306414 is a mid, vivid yellow-green. Relative luminance 0.098; OKLCH L 45.0% C 0.123 H 137.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#306414
RGBrgb(48, 100, 20)
HSLhsl(99, 67%, 24%)
HSVhsv(99, 80%, 39%)
CMYKcmyk(52%, 0%, 80%, 60.8%)
CIE-LABlab(37.47, -32.47, 37.38)
CIE-LCHlch(37.47, 49.51, 130.98°)
OKLaboklab(45.01% -0.0901 0.0837)
OKLCHoklch(45.01% 0.123 137.1)
XYZxyz(5.9022, 9.7928, 2.2409)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306414 #481464
analogous
#586414 #306414 #146420
triadic
#306414 #143064 #641430
tetradic
#306414 #145864 #481464 #642014
square
#306414 #145864 #481464 #642014
split-complementary
#306414 #201464 #641458
monochromatic
#0C1A05 #18310A #306414 #48971E #61CA28

Accessibility & contrast

On white

7.10
#306414 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#306414 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306414
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306414#FFFFFF#000000##FFFFFF
##3064141.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B04
Deuteranopia (green-blind)
#61571C
Tritanopia (blue-blind)
#2D6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #306414;
/* rgb */ color: rgb(48, 100, 20);
/* oklch */ color: oklch(45.0% 0.123 137.1);
Tailwind
colors: {
  custom: {
    50: '#6e9158',
    500: '#306414',
    950: '#000000',
  },
}
SCSS
$custom: #306414;
$custom-light: #6e9158;
$custom-dark: #000000;
JSON
{
  "hex": "#306414",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 20
  },
  "hsl": {
    "h": 99,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45013,
    "c": 0.12296,
    "h": 137.1
  },
  "luminance": 0.09793
}

Semantic roles & 50–950 ramp

primary
#306414
secondary
#79389B
accent
#3EEAAE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #306414

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

Preview Lab → · Contrast checker → · Palette generator →

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