#303C0E#303C0E

#303C0E is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.4% C 0.069 H 122.8°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#303C0E
RGBrgb(48, 60, 14)
HSLhsl(76, 62%, 15%)
HSVhsv(76, 77%, 24%)
CMYKcmyk(20%, 0%, 76.7%, 76.5%)
CIE-LABlab(23.31, -12.95, 25.71)
CIE-LCHlch(23.31, 28.79, 116.73°)
OKLaboklab(33.45% -0.0375 0.0583)
OKLCHoklch(33.45% 0.069 122.8)
XYZxyz(2.9141, 3.8918, 1.0130)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303C0E #1A0E3C
analogous
#3C310E #303C0E #193C0E
triadic
#303C0E #0E303C #3C0E30
tetradic
#303C0E #0E3C31 #1A0E3C #3C0E19
square
#303C0E #0E3C31 #1A0E3C #3C0E19
split-complementary
#303C0E #0E193C #310E3C
monochromatic
#141906 #141906 #303C0E #586E1A #7F9F25

Accessibility & contrast

On white

11.81
#303C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#303C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303C0E
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303C0E#FFFFFF#000000##FFFFFF
##303C0E1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403808
Deuteranopia (green-blind)
#3E3812
Tritanopia (blue-blind)
#333933
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #303c0e;
/* rgb */ color: rgb(48, 60, 14);
/* oklch */ color: oklch(33.4% 0.069 122.8);
Tailwind
colors: {
  custom: {
    50: '#6a714f',
    500: '#303c0e',
    950: '#000000',
  },
}
SCSS
$custom: #303c0e;
$custom-light: #6a714f;
$custom-dark: #000000;
JSON
{
  "hex": "#303c0e",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 14
  },
  "hsl": {
    "h": 75.652,
    "s": 62.162,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33445,
    "c": 0.06929,
    "h": 122.8
  },
  "luminance": 0.03892
}

Semantic roles & 50–950 ramp

primary
#303C0E
secondary
#422F77
accent
#43E56D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #303C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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