#303E12#303E12

#303E12 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.1% C 0.069 H 124.9°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#303E12
RGBrgb(48, 62, 18)
HSLhsl(79, 55%, 16%)
HSVhsv(79, 71%, 24%)
CMYKcmyk(22.6%, 0%, 71%, 75.7%)
CIE-LABlab(24.06, -13.75, 24.48)
CIE-LCHlch(24.06, 28.08, 119.33°)
OKLaboklab(34.06% -0.0393 0.0563)
OKLCHoklch(34.06% 0.069 124.9)
XYZxyz(3.0507, 4.1173, 1.2061)
Luminance0.0412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303E12 #20123E
analogous
#3E3612 #303E12 #1A3E12
triadic
#303E12 #12303E #3E1230
tetradic
#303E12 #123E36 #20123E #3E121A
square
#303E12 #123E36 #20123E #3E121A
split-complementary
#303E12 #121A3E #36123E
monochromatic
#121807 #121807 #303E12 #556D20 #799D2E

Accessibility & contrast

On white

11.52
#303E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#303E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303E12
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303E12#FFFFFF#000000##FFFFFF
##303E121.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0D
Deuteranopia (green-blind)
#403915
Tritanopia (blue-blind)
#323B35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #303e12;
/* rgb */ color: rgb(48, 62, 18);
/* oklch */ color: oklch(34.1% 0.069 124.9);
Tailwind
colors: {
  custom: {
    50: '#6a7352',
    500: '#303e12',
    950: '#000000',
  },
}
SCSS
$custom: #303e12;
$custom-light: #6a7352;
$custom-dark: #000000;
JSON
{
  "hex": "#303e12",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 18
  },
  "hsl": {
    "h": 79.091,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34059,
    "c": 0.06865,
    "h": 124.9
  },
  "luminance": 0.04117
}

Semantic roles & 50–950 ramp

primary
#303E12
secondary
#4A3577
accent
#49DE79
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #303E12

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

Preview Lab → · Contrast checker → · Palette generator →

#303E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva