#333F0B#333F0B

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

Color values

HEX#333F0B
RGBrgb(51, 63, 11)
HSLhsl(74, 70%, 15%)
HSVhsv(74, 83%, 25%)
CMYKcmyk(19%, 0%, 82.5%, 75.3%)
CIE-LABlab(24.59, -13.43, 28.45)
CIE-LCHlch(24.59, 31.46, 115.28°)
OKLaboklab(34.53% -0.0394 0.0634)
OKLCHoklch(34.53% 0.075 121.9)
XYZxyz(3.2032, 4.2830, 0.9745)
Luminance0.0428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333F0B #170B3F
analogous
#3F310B #333F0B #193F0B
triadic
#333F0B #0B333F #3F0B33
tetradic
#333F0B #0B3F31 #170B3F #3F0B19
square
#333F0B #0B3F31 #170B3F #3F0B19
split-complementary
#333F0B #0B193F #310B3F
monochromatic
#151A05 #151A05 #333F0B #5D7314 #87A71D

Accessibility & contrast

On white

11.31
#333F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333F0B
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333F0B#FFFFFF#000000##FFFFFF
##333F0B1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333f0b;
/* rgb */ color: rgb(51, 63, 11);
/* oklch */ color: oklch(34.5% 0.075 121.9);
Tailwind
colors: {
  custom: {
    50: '#6d744e',
    500: '#333f0b',
    950: '#000000',
  },
}
SCSS
$custom: #333f0b;
$custom-light: #6d744e;
$custom-dark: #000000;
JSON
{
  "hex": "#333f0b",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 11
  },
  "hsl": {
    "h": 73.846,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34529,
    "c": 0.0746,
    "h": 121.9
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#333F0B
secondary
#3D2A7C
accent
#3BED64
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #333F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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