#303D0F#303D0F

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

Color values

HEX#303D0F
RGBrgb(48, 61, 15)
HSLhsl(77, 61%, 15%)
HSVhsv(77, 75%, 24%)
CMYKcmyk(21.3%, 0%, 75.4%, 76.1%)
CIE-LABlab(23.67, -13.45, 25.60)
CIE-LCHlch(23.67, 28.91, 117.71°)
OKLaboklab(33.74% -0.0388 0.0582)
OKLCHoklch(33.74% 0.07 123.7)
XYZxyz(2.9739, 4.0003, 1.0673)
Luminance0.0400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303D0F #1C0F3D
analogous
#3D330F #303D0F #193D0F
triadic
#303D0F #0F303D #3D0F30
tetradic
#303D0F #0F3D33 #1C0F3D #3D0F19
square
#303D0F #0F3D33 #1C0F3D #3D0F19
split-complementary
#303D0F #0F193D #330F3D
monochromatic
#131906 #131906 #303D0F #576E1B #7D9F27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##303D0F#FFFFFF#000000##FFFFFF
##303D0F1.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)
#413909
Deuteranopia (green-blind)
#3F3813
Tritanopia (blue-blind)
#333A34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #303d0f;
/* rgb */ color: rgb(48, 61, 15);
/* oklch */ color: oklch(33.7% 0.070 123.7);
Tailwind
colors: {
  custom: {
    50: '#6a7250',
    500: '#303d0f',
    950: '#000000',
  },
}
SCSS
$custom: #303d0f;
$custom-light: #6a7250;
$custom-dark: #000000;
JSON
{
  "hex": "#303d0f",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 15
  },
  "hsl": {
    "h": 76.957,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33741,
    "c": 0.06992,
    "h": 123.7
  },
  "luminance": 0.04
}

Semantic roles & 50–950 ramp

primary
#303D0F
secondary
#443077
accent
#44E471
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #303D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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