#333F07#333F07

#333F07 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.077 H 121.5°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#333F07
RGBrgb(51, 63, 7)
HSLhsl(73, 80%, 14%)
HSVhsv(73, 89%, 25%)
CMYKcmyk(19%, 0%, 88.9%, 75.3%)
CIE-LABlab(24.56, -13.68, 30.06)
CIE-LCHlch(24.56, 33.03, 114.47°)
OKLaboklab(34.5% -0.0405 0.066)
OKLCHoklch(34.5% 0.077 121.5)
XYZxyz(3.1812, 4.2742, 0.8584)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333F07 #13073F
analogous
#3F2F07 #333F07 #173F07
triadic
#333F07 #07333F #3F0733
tetradic
#333F07 #073F2F #13073F #3F0717
square
#333F07 #073F2F #13073F #3F0717
split-complementary
#333F07 #07173F #2F073F
monochromatic
#161C03 #161C03 #333F07 #60760D #8CAD13

Accessibility & contrast

On white

11.32
#333F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#333F07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333F07
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333F07#FFFFFF#000000##FFFFFF
##333F071.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B00
Deuteranopia (green-blind)
#423A0C
Tritanopia (blue-blind)
#363B35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #333f07;
/* rgb */ color: rgb(51, 63, 7);
/* oklch */ color: oklch(34.5% 0.077 121.5);
Tailwind
colors: {
  custom: {
    50: '#6d744c',
    500: '#333f07',
    950: '#000000',
  },
}
SCSS
$custom: #333f07;
$custom-light: #6d744c;
$custom-dark: #000000;
JSON
{
  "hex": "#333f07",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 7
  },
  "hsl": {
    "h": 72.857,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.34498,
    "c": 0.07744,
    "h": 121.5
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#333F07
secondary
#37247E
accent
#31F65C
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #333F07

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

Preview Lab → · Contrast checker → · Palette generator →

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