#303F09#303F09

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

Color values

HEX#303F09
RGBrgb(48, 63, 9)
HSLhsl(77, 75%, 14%)
HSVhsv(77, 86%, 25%)
CMYKcmyk(23.8%, 0%, 85.7%, 75.3%)
CIE-LABlab(24.33, -15.03, 28.95)
CIE-LCHlch(24.33, 32.62, 117.44°)
OKLaboklab(34.26% -0.0438 0.0641)
OKLCHoklch(34.26% 0.078 124.3)
XYZxyz(3.0458, 4.2031, 0.9092)
Luminance0.0420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303F09 #18093F
analogous
#3F3309 #303F09 #153F09
triadic
#303F09 #09303F #3F0930
tetradic
#303F09 #093F33 #18093F #3F0915
square
#303F09 #093F33 #18093F #3F0915
split-complementary
#303F09 #09153F #33093F
monochromatic
#141B04 #141B04 #303F09 #597511 #82AA18

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##303F09#FFFFFF#000000##FFFFFF
##303F091.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)
#433A01
Deuteranopia (green-blind)
#413A0E
Tritanopia (blue-blind)
#333B35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #303f09;
/* rgb */ color: rgb(48, 63, 9);
/* oklch */ color: oklch(34.3% 0.078 124.3);
Tailwind
colors: {
  custom: {
    50: '#6a744d',
    500: '#303f09',
    950: '#000000',
  },
}
SCSS
$custom: #303f09;
$custom-light: #6a744d;
$custom-dark: #000000;
JSON
{
  "hex": "#303f09",
  "rgb": {
    "r": 48,
    "g": 63,
    "b": 9
  },
  "hsl": {
    "h": 76.667,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34258,
    "c": 0.07763,
    "h": 124.3
  },
  "luminance": 0.04203
}

Semantic roles & 50–950 ramp

primary
#303F09
secondary
#3F277D
accent
#36F26A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #303F09

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

Preview Lab → · Contrast checker → · Palette generator →

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