#303F06#303F06

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

Color values

HEX#303F06
RGBrgb(48, 63, 6)
HSLhsl(76, 83%, 14%)
HSVhsv(76, 90%, 25%)
CMYKcmyk(23.8%, 0%, 90.5%, 75.3%)
CIE-LABlab(24.31, -15.23, 30.15)
CIE-LCHlch(24.31, 33.77, 116.80°)
OKLaboklab(34.24% -0.0446 0.0662)
OKLCHoklch(34.24% 0.08 124)
XYZxyz(3.0293, 4.1965, 0.8227)
Luminance0.0420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303F06 #15063F
analogous
#3F3106 #303F06 #133F06
triadic
#303F06 #06303F #3F0630
tetradic
#303F06 #063F31 #15063F #3F0613
square
#303F06 #063F31 #15063F #3F0613
split-complementary
#303F06 #06133F #31063F
monochromatic
#151C03 #151C03 #303F06 #5B770B #85AF11

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##303F06#FFFFFF#000000##FFFFFF
##303F061.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)
#413A0C
Tritanopia (blue-blind)
#333B35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #303f06;
/* rgb */ color: rgb(48, 63, 6);
/* oklch */ color: oklch(34.2% 0.080 124.0);
Tailwind
colors: {
  custom: {
    50: '#6b744c',
    500: '#303f06',
    950: '#000000',
  },
}
SCSS
$custom: #303f06;
$custom-light: #6b744c;
$custom-dark: #000000;
JSON
{
  "hex": "#303f06",
  "rgb": {
    "r": 48,
    "g": 63,
    "b": 6
  },
  "hsl": {
    "h": 75.789,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.34235,
    "c": 0.07979,
    "h": 124
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

primary
#303F06
secondary
#3A227F
accent
#2FF964
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #303F06

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

Preview Lab → · Contrast checker → · Palette generator →

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