#333D12#333D12

#333D12 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.0% C 0.066 H 121.1°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#333D12
RGBrgb(51, 61, 18)
HSLhsl(74, 54%, 15%)
HSVhsv(74, 70%, 24%)
CMYKcmyk(16.4%, 0%, 70.5%, 76.1%)
CIE-LABlab(23.95, -11.71, 24.43)
CIE-LCHlch(23.95, 27.10, 115.61°)
OKLaboklab(34.04% -0.0338 0.0561)
OKLCHoklch(34.04% 0.066 121.1)
XYZxyz(3.1432, 4.0850, 1.1950)
Luminance0.0408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333D12 #1C123D
analogous
#3D3112 #333D12 #1E3D12
triadic
#333D12 #12333D #3D1233
tetradic
#333D12 #123D31 #1C123D #3D121E
square
#333D12 #123D31 #1C123D #3D121E
split-complementary
#333D12 #121E3D #31123D
monochromatic
#141807 #141807 #333D12 #5B6C20 #829C2E

Accessibility & contrast

On white

11.56
#333D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#333D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333D12
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333D12#FFFFFF#000000##FFFFFF
##333D121.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#403915
Tritanopia (blue-blind)
#363A34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #333d12;
/* rgb */ color: rgb(51, 61, 18);
/* oklch */ color: oklch(34.0% 0.066 121.1);
Tailwind
colors: {
  custom: {
    50: '#6c7252',
    500: '#333d12',
    950: '#000000',
  },
}
SCSS
$custom: #333d12;
$custom-light: #6c7252;
$custom-dark: #000000;
JSON
{
  "hex": "#333d12",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 18
  },
  "hsl": {
    "h": 73.953,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34037,
    "c": 0.06555,
    "h": 121.1
  },
  "luminance": 0.04085
}

Semantic roles & 50–950 ramp

primary
#333D12
secondary
#443576
accent
#4ADE6C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #333D12

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

Preview Lab → · Contrast checker → · Palette generator →

#333D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva