#333C12#333C12

#333C12 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.8% C 0.064 H 120.2°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#333C12
RGBrgb(51, 60, 18)
HSLhsl(73, 54%, 15%)
HSVhsv(73, 70%, 24%)
CMYKcmyk(15%, 0%, 70%, 76.5%)
CIE-LABlab(23.60, -11.12, 24.05)
CIE-LCHlch(23.60, 26.50, 114.80°)
OKLaboklab(33.76% -0.0322 0.0553)
OKLCHoklch(33.76% 0.064 120.2)
XYZxyz(3.0903, 3.9792, 1.1774)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333C12 #1B123C
analogous
#3C3012 #333C12 #1E3C12
triadic
#333C12 #12333C #3C1233
tetradic
#333C12 #123C30 #1B123C #3C121E
square
#333C12 #123C30 #1B123C #3C121E
split-complementary
#333C12 #121E3C #30123C
monochromatic
#141807 #141807 #333C12 #5B6B20 #839A2E

Accessibility & contrast

On white

11.69
#333C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#333C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333C12
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333C12#FFFFFF#000000##FFFFFF
##333C121.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380D
Deuteranopia (green-blind)
#3F3815
Tritanopia (blue-blind)
#363933
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #333c12;
/* rgb */ color: rgb(51, 60, 18);
/* oklch */ color: oklch(33.8% 0.064 120.2);
Tailwind
colors: {
  custom: {
    50: '#6c7152',
    500: '#333c12',
    950: '#000000',
  },
}
SCSS
$custom: #333c12;
$custom-light: #6c7152;
$custom-dark: #000000;
JSON
{
  "hex": "#333c12",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 18
  },
  "hsl": {
    "h": 72.857,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33758,
    "c": 0.06401,
    "h": 120.2
  },
  "luminance": 0.03979
}

Semantic roles & 50–950 ramp

primary
#333C12
secondary
#433575
accent
#4BDD6A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #333C12

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

Preview Lab → · Contrast checker → · Palette generator →

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