#333F0A#333F0A

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

Color values

HEX#333F0A
RGBrgb(51, 63, 10)
HSLhsl(74, 73%, 14%)
HSVhsv(74, 84%, 25%)
CMYKcmyk(19%, 0%, 84.1%, 75.3%)
CIE-LABlab(24.58, -13.50, 28.86)
CIE-LCHlch(24.58, 31.86, 115.06°)
OKLaboklab(34.52% -0.0397 0.064)
OKLCHoklch(34.52% 0.075 121.8)
XYZxyz(3.1976, 4.2807, 0.9449)
Luminance0.0428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333F0A #160A3F
analogous
#3F310A #333F0A #193F0A
triadic
#333F0A #0A333F #3F0A33
tetradic
#333F0A #0A3F31 #160A3F #3F0A19
square
#333F0A #0A3F31 #160A3F #3F0A19
split-complementary
#333F0A #0A193F #310A3F
monochromatic
#151A04 #151A04 #333F0A #5E7412 #89A91B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##333F0A#FFFFFF#000000##FFFFFF
##333F0A1.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)
#433B02
Deuteranopia (green-blind)
#423A0F
Tritanopia (blue-blind)
#363B35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #333f0a;
/* rgb */ color: rgb(51, 63, 10);
/* oklch */ color: oklch(34.5% 0.075 121.8);
Tailwind
colors: {
  custom: {
    50: '#6d744e',
    500: '#333f0a',
    950: '#000000',
  },
}
SCSS
$custom: #333f0a;
$custom-light: #6d744e;
$custom-dark: #000000;
JSON
{
  "hex": "#333f0a",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 10
  },
  "hsl": {
    "h": 73.585,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34522,
    "c": 0.07531,
    "h": 121.8
  },
  "luminance": 0.04281
}

Semantic roles & 50–950 ramp

primary
#333F0A
secondary
#3B297C
accent
#38EF62
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #333F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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