#303E07#303E07

#303E07 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.0% C 0.078 H 123.4°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#303E07
RGBrgb(48, 62, 7)
HSLhsl(75, 80%, 14%)
HSVhsv(75, 89%, 24%)
CMYKcmyk(22.6%, 0%, 88.7%, 75.7%)
CIE-LABlab(23.96, -14.59, 29.40)
CIE-LCHlch(23.96, 32.82, 116.40°)
OKLaboklab(33.96% -0.0428 0.0648)
OKLCHoklch(33.96% 0.078 123.4)
XYZxyz(2.9799, 4.0889, 0.8332)
Luminance0.0409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303E07 #15073E
analogous
#3E3007 #303E07 #143E07
triadic
#303E07 #07303E #3E0730
tetradic
#303E07 #073E30 #15073E #3E0714
square
#303E07 #073E30 #15073E #3E0714
split-complementary
#303E07 #07143E #30073E
monochromatic
#151B03 #151B03 #303E07 #5B750D #85AC13

Accessibility & contrast

On white

11.55
#303E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303E07
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303E07#FFFFFF#000000##FFFFFF
##303E071.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#40390C
Tritanopia (blue-blind)
#333A34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #303e07;
/* rgb */ color: rgb(48, 62, 7);
/* oklch */ color: oklch(34.0% 0.078 123.4);
Tailwind
colors: {
  custom: {
    50: '#6b734c',
    500: '#303e07',
    950: '#000000',
  },
}
SCSS
$custom: #303e07;
$custom-light: #6b734c;
$custom-dark: #000000;
JSON
{
  "hex": "#303e07",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 7
  },
  "hsl": {
    "h": 75.273,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33956,
    "c": 0.07764,
    "h": 123.4
  },
  "luminance": 0.04089
}

Semantic roles & 50–950 ramp

primary
#303E07
secondary
#3A247D
accent
#32F664
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #303E07

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

Preview Lab → · Contrast checker → · Palette generator →

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