#306F0E#306F0E

#306F0E is a mid, vivid yellow-green. Relative luminance 0.120; OKLCH L 48.1% C 0.140 H 137.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#306F0E
RGBrgb(48, 111, 14)
HSLhsl(99, 78%, 25%)
HSVhsv(99, 87%, 44%)
CMYKcmyk(56.8%, 0%, 87.4%, 56.5%)
CIE-LABlab(41.26, -37.41, 42.89)
CIE-LCHlch(41.26, 56.91, 131.09°)
OKLaboklab(48.13% -0.1037 0.0943)
OKLCHoklch(48.13% 0.14 137.7)
XYZxyz(6.9824, 12.0284, 2.3692)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F0E #4D0E6F
analogous
#616F0E #306F0E #0E6F1D
triadic
#306F0E #0E306F #6F0E30
tetradic
#306F0E #0E616F #4D0E6F #6F1D0E
square
#306F0E #0E616F #4D0E6F #6F1D0E
split-complementary
#306F0E #1D0E6F #6F0E61
monochromatic
#0C1B03 #183907 #306F0E #48A515 #5FDC1C

Accessibility & contrast

On white

6.17
#306F0E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#306F0E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F0E
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F0E#FFFFFF#000000##FFFFFF
##306F0E1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B5F1B
Tritanopia (blue-blind)
#2B6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306f0e;
/* rgb */ color: rgb(48, 111, 14);
/* oklch */ color: oklch(48.1% 0.140 137.7);
Tailwind
colors: {
  custom: {
    50: '#709957',
    500: '#306f0e',
    950: '#000000',
  },
}
SCSS
$custom: #306f0e;
$custom-light: #709957;
$custom-dark: #000000;
JSON
{
  "hex": "#306f0e",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 14
  },
  "hsl": {
    "h": 98.969,
    "s": 77.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.48128,
    "c": 0.14017,
    "h": 137.7
  },
  "luminance": 0.12029
}

Semantic roles & 50–950 ramp

primary
#306F0E
secondary
#7E32A7
accent
#34F4B1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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