#303F0D#303F0D

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

Color values

HEX#303F0D
RGBrgb(48, 63, 13)
HSLhsl(78, 66%, 15%)
HSVhsv(78, 79%, 25%)
CMYKcmyk(23.8%, 0%, 79.4%, 75.3%)
CIE-LABlab(24.36, -14.75, 27.26)
CIE-LCHlch(24.36, 31.00, 118.42°)
OKLaboklab(34.29% -0.0426 0.0613)
OKLCHoklch(34.29% 0.075 124.8)
XYZxyz(3.0691, 4.2124, 1.0321)
Luminance0.0421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303F0D #1C0D3F
analogous
#3F350D #303F0D #173F0D
triadic
#303F0D #0D303F #3F0D30
tetradic
#303F0D #0D3F35 #1C0D3F #3F0D17
square
#303F0D #0D3F35 #1C0D3F #3F0D17
split-complementary
#303F0D #0D173F #350D3F
monochromatic
#131905 #131905 #303F0D #577217 #7DA422

Accessibility & contrast

On white

11.40
#303F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303F0D
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303F0D#FFFFFF#000000##FFFFFF
##303F0D1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A06
Deuteranopia (green-blind)
#413A11
Tritanopia (blue-blind)
#333C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #303f0d;
/* rgb */ color: rgb(48, 63, 13);
/* oklch */ color: oklch(34.3% 0.075 124.8);
Tailwind
colors: {
  custom: {
    50: '#6a744f',
    500: '#303f0d',
    950: '#000000',
  },
}
SCSS
$custom: #303f0d;
$custom-light: #6a744f;
$custom-dark: #000000;
JSON
{
  "hex": "#303f0d",
  "rgb": {
    "r": 48,
    "g": 63,
    "b": 13
  },
  "hsl": {
    "h": 78,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34292,
    "c": 0.07467,
    "h": 124.8
  },
  "luminance": 0.04212
}

Semantic roles & 50–950 ramp

primary
#303F0D
secondary
#442D7B
accent
#3FE972
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #303F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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