#303E0D#303E0D

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

Color values

HEX#303E0D
RGBrgb(48, 62, 13)
HSLhsl(77, 65%, 15%)
HSVhsv(77, 79%, 24%)
CMYKcmyk(22.6%, 0%, 79%, 75.7%)
CIE-LABlab(24.01, -14.19, 26.90)
CIE-LCHlch(24.01, 30.41, 117.80°)
OKLaboklab(34.01% -0.041 0.0606)
OKLCHoklch(34.01% 0.073 124.1)
XYZxyz(3.0142, 4.1027, 1.0138)
Luminance0.0410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303E0D #1B0D3E
analogous
#3E340D #303E0D #183E0D
triadic
#303E0D #0D303E #3E0D30
tetradic
#303E0D #0D3E34 #1B0D3E #3E0D18
square
#303E0D #0D3E34 #1B0D3E #3E0D18
split-complementary
#303E0D #0D183E #340D3E
monochromatic
#141905 #141905 #303E0D #577118 #7EA322

Accessibility & contrast

On white

11.53
#303E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303E0D
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303E0D#FFFFFF#000000##FFFFFF
##303E0D1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A06
Deuteranopia (green-blind)
#403911
Tritanopia (blue-blind)
#333B34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #303e0d;
/* rgb */ color: rgb(48, 62, 13);
/* oklch */ color: oklch(34.0% 0.073 124.1);
Tailwind
colors: {
  custom: {
    50: '#6a734f',
    500: '#303e0d',
    950: '#000000',
  },
}
SCSS
$custom: #303e0d;
$custom-light: #6a734f;
$custom-dark: #000000;
JSON
{
  "hex": "#303e0d",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 13
  },
  "hsl": {
    "h": 77.143,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34006,
    "c": 0.07316,
    "h": 124.1
  },
  "luminance": 0.04103
}

Semantic roles & 50–950 ramp

primary
#303E0D
secondary
#432D7A
accent
#40E870
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #303E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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