#333F12#333F12

#333F12 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.6% C 0.069 H 122.7°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#333F12
RGBrgb(51, 63, 18)
HSLhsl(76, 56%, 16%)
HSVhsv(76, 71%, 25%)
CMYKcmyk(19%, 0%, 71.4%, 75.3%)
CIE-LABlab(24.65, -12.88, 25.19)
CIE-LCHlch(24.65, 28.29, 117.09°)
OKLaboklab(34.6% -0.0371 0.0577)
OKLCHoklch(34.6% 0.069 122.7)
XYZxyz(3.2520, 4.3025, 1.2313)
Luminance0.0430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333F12 #1E123F
analogous
#3F3412 #333F12 #1C3F12
triadic
#333F12 #12333F #3F1233
tetradic
#333F12 #123F34 #1E123F #3F121C
square
#333F12 #123F34 #1E123F #3F121C
split-complementary
#333F12 #121C3F #34123F
monochromatic
#131807 #131807 #333F12 #5A6F20 #809E2D

Accessibility & contrast

On white

11.29
#333F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#333F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333F12
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333F12#FFFFFF#000000##FFFFFF
##333F121.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0C
Deuteranopia (green-blind)
#413A15
Tritanopia (blue-blind)
#363C36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #333f12;
/* rgb */ color: rgb(51, 63, 18);
/* oklch */ color: oklch(34.6% 0.069 122.7);
Tailwind
colors: {
  custom: {
    50: '#6c7452',
    500: '#333f12',
    950: '#000000',
  },
}
SCSS
$custom: #333f12;
$custom-light: #6c7452;
$custom-dark: #000000;
JSON
{
  "hex": "#333f12",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 18
  },
  "hsl": {
    "h": 76,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34599,
    "c": 0.06863,
    "h": 122.7
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#333F12
secondary
#473578
accent
#49DF71
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #333F12

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

Preview Lab → · Contrast checker → · Palette generator →

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