#303E16#303E16

#303E16 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.1% C 0.064 H 125.8°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#303E16
RGBrgb(48, 62, 22)
HSLhsl(81, 48%, 16%)
HSVhsv(81, 65%, 24%)
CMYKcmyk(22.6%, 0%, 64.5%, 75.7%)
CIE-LABlab(24.10, -13.33, 22.36)
CIE-LCHlch(24.10, 26.03, 120.81°)
OKLaboklab(34.11% -0.0377 0.0523)
OKLCHoklch(34.11% 0.064 125.8)
XYZxyz(3.0864, 4.1315, 1.3938)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303E16 #24163E
analogous
#3E3816 #303E16 #1C3E16
triadic
#303E16 #16303E #3E1630
tetradic
#303E16 #163E38 #24163E #3E161C
square
#303E16 #163E38 #24163E #3E161C
split-complementary
#303E16 #161C3E #38163E
monochromatic
#111708 #111708 #303E16 #536B26 #769836

Accessibility & contrast

On white

11.50
#303E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#303E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303E16
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303E16#FFFFFF#000000##FFFFFF
##303E161.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A12
Deuteranopia (green-blind)
#403919
Tritanopia (blue-blind)
#323B35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #303e16;
/* rgb */ color: rgb(48, 62, 22);
/* oklch */ color: oklch(34.1% 0.064 125.8);
Tailwind
colors: {
  custom: {
    50: '#697355',
    500: '#303e16',
    950: '#000000',
  },
}
SCSS
$custom: #303e16;
$custom-light: #697355;
$custom-dark: #000000;
JSON
{
  "hex": "#303e16",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 22
  },
  "hsl": {
    "h": 81,
    "s": 47.619,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34112,
    "c": 0.06448,
    "h": 125.8
  },
  "luminance": 0.04132
}

Semantic roles & 50–950 ramp

primary
#303E16
secondary
#4F3B75
accent
#51D780
background
#F6F6F4
surface
#EBECE8
border
#C6C7C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #303E16

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

Preview Lab → · Contrast checker → · Palette generator →

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