#303F05#303F05

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

Color values

HEX#303F05
RGBrgb(48, 63, 5)
HSLhsl(76, 85%, 13%)
HSVhsv(76, 92%, 25%)
CMYKcmyk(23.8%, 0%, 92.1%, 75.3%)
CIE-LABlab(24.30, -15.29, 30.55)
CIE-LCHlch(24.30, 34.16, 116.59°)
OKLaboklab(34.23% -0.0449 0.0668)
OKLCHoklch(34.23% 0.081 123.9)
XYZxyz(3.0239, 4.1943, 0.7938)
Luminance0.0419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303F05 #14053F
analogous
#3F3105 #303F05 #133F05
triadic
#303F05 #05303F #3F0530
tetradic
#303F05 #053F31 #14053F #3F0513
square
#303F05 #053F31 #14053F #3F0513
split-complementary
#303F05 #05133F #31053F
monochromatic
#161C02 #161C02 #303F05 #5B7809 #86B00E

Accessibility & contrast

On white

11.42
#303F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303F05
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303F05#FFFFFF#000000##FFFFFF
##303F051.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303f05;
/* rgb */ color: rgb(48, 63, 5);
/* oklch */ color: oklch(34.2% 0.081 123.9);
Tailwind
colors: {
  custom: {
    50: '#6b744b',
    500: '#303f05',
    950: '#000000',
  },
}
SCSS
$custom: #303f05;
$custom-light: #6b744b;
$custom-dark: #000000;
JSON
{
  "hex": "#303f05",
  "rgb": {
    "r": 48,
    "g": 63,
    "b": 5
  },
  "hsl": {
    "h": 75.517,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.34227,
    "c": 0.08052,
    "h": 123.9
  },
  "luminance": 0.04194
}

Semantic roles & 50–950 ramp

primary
#303F05
secondary
#392080
accent
#2CFC62
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #303F05

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

Preview Lab → · Contrast checker → · Palette generator →

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