#306E0E#306E0E

#306E0E is a mid, vivid yellow-green. Relative luminance 0.118; OKLCH L 47.8% C 0.139 H 137.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#306E0E
RGBrgb(48, 110, 14)
HSLhsl(99, 77%, 24%)
HSVhsv(99, 87%, 43%)
CMYKcmyk(56.4%, 0%, 87.3%, 56.9%)
CIE-LABlab(40.91, -37.01, 42.58)
CIE-LCHlch(40.91, 56.41, 130.99°)
OKLaboklab(47.84% -0.1026 0.0936)
OKLCHoklch(47.84% 0.139 137.6)
XYZxyz(6.8739, 11.8114, 2.3330)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306E0E #4C0E6E
analogous
#606E0E #306E0E #0E6E1C
triadic
#306E0E #0E306E #6E0E30
tetradic
#306E0E #0E606E #4C0E6E #6E1C0E
square
#306E0E #0E606E #4C0E6E #6E1C0E
split-complementary
#306E0E #1C0E6E #6E0E60
monochromatic
#0C1B03 #183807 #306E0E #48A415 #5FDB1C

Accessibility & contrast

On white

6.25
#306E0E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#306E0E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306E0E
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306E0E#FFFFFF#000000##FFFFFF
##306E0E1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5F1A
Tritanopia (blue-blind)
#2B6A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #306e0e;
/* rgb */ color: rgb(48, 110, 14);
/* oklch */ color: oklch(47.8% 0.139 137.6);
Tailwind
colors: {
  custom: {
    50: '#709857',
    500: '#306e0e',
    950: '#000000',
  },
}
SCSS
$custom: #306e0e;
$custom-light: #709857;
$custom-dark: #000000;
JSON
{
  "hex": "#306e0e",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 14
  },
  "hsl": {
    "h": 98.75,
    "s": 77.419,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47842,
    "c": 0.13893,
    "h": 137.6
  },
  "luminance": 0.11812
}

Semantic roles & 50–950 ramp

primary
#306E0E
secondary
#7D31A6
accent
#34F4B0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306E0E

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

Preview Lab → · Contrast checker → · Palette generator →

#306E0E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva