#303F07#303F07

#303F07 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.079 H 124.1°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#303F07
RGBrgb(48, 63, 7)
HSLhsl(76, 80%, 14%)
HSVhsv(76, 89%, 25%)
CMYKcmyk(23.8%, 0%, 88.9%, 75.3%)
CIE-LABlab(24.32, -15.16, 29.75)
CIE-LCHlch(24.32, 33.39, 117.00°)
OKLaboklab(34.24% -0.0443 0.0655)
OKLCHoklch(34.24% 0.079 124.1)
XYZxyz(3.0348, 4.1987, 0.8515)
Luminance0.0420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303F07 #16073F
analogous
#3F3207 #303F07 #143F07
triadic
#303F07 #07303F #3F0730
tetradic
#303F07 #073F32 #16073F #3F0714
square
#303F07 #073F32 #16073F #3F0714
split-complementary
#303F07 #07143F #32073F
monochromatic
#151C03 #151C03 #303F07 #5A760D #84AD13

Accessibility & contrast

On white

11.41
#303F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#303F07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303F07
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303F07#FFFFFF#000000##FFFFFF
##303F071.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#413A0C
Tritanopia (blue-blind)
#333B35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #303f07;
/* rgb */ color: rgb(48, 63, 7);
/* oklch */ color: oklch(34.2% 0.079 124.1);
Tailwind
colors: {
  custom: {
    50: '#6b744c',
    500: '#303f07',
    950: '#000000',
  },
}
SCSS
$custom: #303f07;
$custom-light: #6b744c;
$custom-dark: #000000;
JSON
{
  "hex": "#303f07",
  "rgb": {
    "r": 48,
    "g": 63,
    "b": 7
  },
  "hsl": {
    "h": 76.071,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.34242,
    "c": 0.07907,
    "h": 124.1
  },
  "luminance": 0.04199
}

Semantic roles & 50–950 ramp

primary
#303F07
secondary
#3C247E
accent
#31F666
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #303F07

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

Preview Lab → · Contrast checker → · Palette generator →

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