#333A0B#333A0B

#333A0B is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.1% C 0.067 H 117.6°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#333A0B
RGBrgb(51, 58, 11)
HSLhsl(69, 68%, 14%)
HSVhsv(69, 81%, 23%)
CMYKcmyk(12.1%, 0%, 81%, 77.3%)
CIE-LABlab(22.84, -10.49, 26.70)
CIE-LCHlch(22.84, 28.69, 111.44°)
OKLaboklab(33.12% -0.0313 0.0597)
OKLCHoklch(33.12% 0.067 117.6)
XYZxyz(2.9388, 3.7541, 0.8863)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333A0B #120B3A
analogous
#3A290B #333A0B #1B3A0B
triadic
#333A0B #0B333A #3A0B33
tetradic
#333A0B #0B3A29 #120B3A #3A0B1B
square
#333A0B #0B3A29 #120B3A #3A0B1B
split-complementary
#333A0B #0B1B3A #290B3A
monochromatic
#171A05 #171A05 #333A0B #606D15 #8DA11F

Accessibility & contrast

On white

11.99
#333A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#333A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333A0B
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333A0B#FFFFFF#000000##FFFFFF
##333A0B1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3604
Deuteranopia (green-blind)
#3E370F
Tritanopia (blue-blind)
#373631
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #333a0b;
/* rgb */ color: rgb(51, 58, 11);
/* oklch */ color: oklch(33.1% 0.067 117.6);
Tailwind
colors: {
  custom: {
    50: '#6c704d',
    500: '#333a0b',
    950: '#000000',
  },
}
SCSS
$custom: #333a0b;
$custom-light: #6c704d;
$custom-dark: #000000;
JSON
{
  "hex": "#333a0b",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 11
  },
  "hsl": {
    "h": 68.936,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33124,
    "c": 0.06742,
    "h": 117.6
  },
  "luminance": 0.03754
}

Semantic roles & 50–950 ramp

primary
#333A0B
secondary
#352A77
accent
#3DEB57
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #333A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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