#306112#306112

#306112 is a dark, vivid yellow-green. Relative luminance 0.092; OKLCH L 44.1% C 0.120 H 136.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#306112
RGBrgb(48, 97, 18)
HSLhsl(97, 69%, 23%)
HSVhsv(97, 81%, 38%)
CMYKcmyk(50.5%, 0%, 81.4%, 62%)
CIE-LABlab(36.41, -31.30, 37.09)
CIE-LCHlch(36.41, 48.53, 130.16°)
OKLaboklab(44.14% -0.0871 0.0828)
OKLCHoklch(44.14% 0.12 136.5)
XYZxyz(5.6026, 9.2211, 2.0568)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306112 #431261
analogous
#586112 #306112 #12611B
triadic
#306112 #123061 #611230
tetradic
#306112 #125861 #431261 #611B12
square
#306112 #125861 #431261 #611B12
split-complementary
#306112 #1B1261 #611258
monochromatic
#0D1A05 #162D08 #306112 #4A951C #63C825

Accessibility & contrast

On white

7.38
#306112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#306112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306112
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306112#FFFFFF#000000##FFFFFF
##3061121.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655802
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#2E5D52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #306112;
/* rgb */ color: rgb(48, 97, 18);
/* oklch */ color: oklch(44.1% 0.120 136.5);
Tailwind
colors: {
  custom: {
    50: '#6e8e57',
    500: '#306112',
    950: '#000000',
  },
}
SCSS
$custom: #306112;
$custom-light: #6e8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#306112",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 97.215,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44136,
    "c": 0.12014,
    "h": 136.5
  },
  "luminance": 0.09221
}

Semantic roles & 50–950 ramp

primary
#306112
secondary
#733699
accent
#3CECA9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #306112

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

Preview Lab → · Contrast checker → · Palette generator →

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