#303D0E#303D0E

#303D0E is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.7% C 0.071 H 123.5°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#303D0E
RGBrgb(48, 61, 14)
HSLhsl(77, 63%, 15%)
HSVhsv(77, 77%, 24%)
CMYKcmyk(21.3%, 0%, 77%, 76.1%)
CIE-LABlab(23.66, -13.53, 26.08)
CIE-LCHlch(23.66, 29.38, 117.42°)
OKLaboklab(33.73% -0.0391 0.059)
OKLCHoklch(33.73% 0.071 123.5)
XYZxyz(2.9670, 3.9976, 1.0307)
Luminance0.0400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303D0E #1B0E3D
analogous
#3D330E #303D0E #183D0E
triadic
#303D0E #0E303D #3D0E30
tetradic
#303D0E #0E3D33 #1B0E3D #3D0E18
square
#303D0E #0E3D33 #1B0E3D #3D0E18
split-complementary
#303D0E #0E183D #330E3D
monochromatic
#141906 #141906 #303D0E #576F19 #7EA125

Accessibility & contrast

On white

11.67
#303D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#303D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303D0E
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303D0E#FFFFFF#000000##FFFFFF
##303D0E1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413907
Deuteranopia (green-blind)
#3F3812
Tritanopia (blue-blind)
#333A34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #303d0e;
/* rgb */ color: rgb(48, 61, 14);
/* oklch */ color: oklch(33.7% 0.071 123.5);
Tailwind
colors: {
  custom: {
    50: '#6a724f',
    500: '#303d0e',
    950: '#000000',
  },
}
SCSS
$custom: #303d0e;
$custom-light: #6a724f;
$custom-dark: #000000;
JSON
{
  "hex": "#303d0e",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 14
  },
  "hsl": {
    "h": 76.596,
    "s": 62.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.3373,
    "c": 0.0708,
    "h": 123.5
  },
  "luminance": 0.03998
}

Semantic roles & 50–950 ramp

primary
#303D0E
secondary
#432F78
accent
#42E66F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #303D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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