#333F0F#333F0F

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

Color values

HEX#333F0F
RGBrgb(51, 63, 15)
HSLhsl(75, 62%, 15%)
HSVhsv(75, 76%, 25%)
CMYKcmyk(19%, 0%, 76.2%, 75.3%)
CIE-LABlab(24.62, -13.14, 26.66)
CIE-LCHlch(24.62, 29.72, 116.24°)
OKLaboklab(34.57% -0.0382 0.0603)
OKLCHoklch(34.57% 0.071 122.3)
XYZxyz(3.2290, 4.2933, 1.1104)
Luminance0.0429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333F0F #1B0F3F
analogous
#3F330F #333F0F #1B3F0F
triadic
#333F0F #0F333F #3F0F33
tetradic
#333F0F #0F3F33 #1B0F3F #3F0F1B
square
#333F0F #0F3F33 #1B0F3F #3F0F1B
split-complementary
#333F0F #0F1B3F #330F3F
monochromatic
#141906 #141906 #333F0F #5B701B #83A227

Accessibility & contrast

On white

11.30
#333F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333F0F
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333F0F#FFFFFF#000000##FFFFFF
##333F0F1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333f0f;
/* rgb */ color: rgb(51, 63, 15);
/* oklch */ color: oklch(34.6% 0.071 122.3);
Tailwind
colors: {
  custom: {
    50: '#6c7450',
    500: '#333f0f',
    950: '#000000',
  },
}
SCSS
$custom: #333f0f;
$custom-light: #6c7450;
$custom-dark: #000000;
JSON
{
  "hex": "#333f0f",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 15
  },
  "hsl": {
    "h": 75,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34566,
    "c": 0.07139,
    "h": 122.3
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#333F0F
secondary
#433079
accent
#43E56C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #333F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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