#333C0F#333C0F

#333C0F is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.7% C 0.067 H 119.8°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#333C0F
RGBrgb(51, 60, 15)
HSLhsl(72, 60%, 15%)
HSVhsv(72, 75%, 24%)
CMYKcmyk(15%, 0%, 75%, 76.5%)
CIE-LABlab(23.57, -11.38, 25.57)
CIE-LCHlch(23.57, 27.99, 113.99°)
OKLaboklab(33.72% -0.0333 0.058)
OKLCHoklch(33.72% 0.067 119.8)
XYZxyz(3.0674, 3.9700, 1.0565)
Luminance0.0397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333C0F #180F3C
analogous
#3C2F0F #333C0F #1D3C0F
triadic
#333C0F #0F333C #3C0F33
tetradic
#333C0F #0F3C2F #180F3C #3C0F1D
square
#333C0F #0F3C2F #180F3C #3C0F1D
split-complementary
#333C0F #0F1D3C #2F0F3C
monochromatic
#151806 #151806 #333C0F #5D6D1B #869E27

Accessibility & contrast

On white

11.71
#333C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#333C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333C0F
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333C0F#FFFFFF#000000##FFFFFF
##333C0F1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403809
Deuteranopia (green-blind)
#3F3812
Tritanopia (blue-blind)
#363833
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #333c0f;
/* rgb */ color: rgb(51, 60, 15);
/* oklch */ color: oklch(33.7% 0.067 119.8);
Tailwind
colors: {
  custom: {
    50: '#6c7150',
    500: '#333c0f',
    950: '#000000',
  },
}
SCSS
$custom: #333c0f;
$custom-light: #6c7150;
$custom-dark: #000000;
JSON
{
  "hex": "#333c0f",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 15
  },
  "hsl": {
    "h": 72,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33723,
    "c": 0.0669,
    "h": 119.8
  },
  "luminance": 0.0397
}

Semantic roles & 50–950 ramp

primary
#333C0F
secondary
#3E3076
accent
#45E364
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #333C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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