#303E0F#303E0F

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

Color values

HEX#303E0F
RGBrgb(48, 62, 15)
HSLhsl(78, 61%, 15%)
HSVhsv(78, 76%, 24%)
CMYKcmyk(22.6%, 0%, 75.8%, 75.7%)
CIE-LABlab(24.03, -14.02, 25.97)
CIE-LCHlch(24.03, 29.51, 118.37°)
OKLaboklab(34.03% -0.0404 0.059)
OKLCHoklch(34.03% 0.071 124.4)
XYZxyz(3.0278, 4.1081, 1.0853)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303E0F #1D0F3E
analogous
#3E340F #303E0F #193E0F
triadic
#303E0F #0F303E #3E0F30
tetradic
#303E0F #0F3E34 #1D0F3E #3E0F19
square
#303E0F #0F3E34 #1D0F3E #3E0F19
split-complementary
#303E0F #0F193E #340F3E
monochromatic
#131906 #131906 #303E0F #566F1B #7CA127

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##303E0F#FFFFFF#000000##FFFFFF
##303E0F1.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)
#423A09
Deuteranopia (green-blind)
#403913
Tritanopia (blue-blind)
#333B34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #303e0f;
/* rgb */ color: rgb(48, 62, 15);
/* oklch */ color: oklch(34.0% 0.071 124.4);
Tailwind
colors: {
  custom: {
    50: '#6a7350',
    500: '#303e0f',
    950: '#000000',
  },
}
SCSS
$custom: #303e0f;
$custom-light: #6a7350;
$custom-dark: #000000;
JSON
{
  "hex": "#303e0f",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 15
  },
  "hsl": {
    "h": 77.872,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34026,
    "c": 0.07146,
    "h": 124.4
  },
  "luminance": 0.04108
}

Semantic roles & 50–950 ramp

primary
#303E0F
secondary
#463078
accent
#44E473
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #303E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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