#333A0F#333A0F

#333A0F is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.2% C 0.064 H 117.9°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#333A0F
RGBrgb(51, 58, 15)
HSLhsl(70, 59%, 14%)
HSVhsv(70, 74%, 23%)
CMYKcmyk(12.1%, 0%, 74.1%, 77.3%)
CIE-LABlab(22.88, -10.18, 24.84)
CIE-LCHlch(22.88, 26.84, 112.29°)
OKLaboklab(33.16% -0.0299 0.0565)
OKLCHoklch(33.16% 0.064 117.9)
XYZxyz(2.9646, 3.7644, 1.0223)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333A0F #160F3A
analogous
#3A2C0F #333A0F #1E3A0F
triadic
#333A0F #0F333A #3A0F33
tetradic
#333A0F #0F3A2C #160F3A #3A0F1E
square
#333A0F #0F3A2C #160F3A #3A0F1E
split-complementary
#333A0F #0F1E3A #2C0F3A
monochromatic
#151806 #151806 #333A0F #5E6B1C #899B28

Accessibility & contrast

On white

11.98
#333A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333A0F
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333A0F#FFFFFF#000000##FFFFFF
##333A0F1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3609
Deuteranopia (green-blind)
#3E3712
Tritanopia (blue-blind)
#363631
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #333a0f;
/* rgb */ color: rgb(51, 58, 15);
/* oklch */ color: oklch(33.2% 0.064 117.9);
Tailwind
colors: {
  custom: {
    50: '#6c7050',
    500: '#333a0f',
    950: '#000000',
  },
}
SCSS
$custom: #333a0f;
$custom-light: #6c7050;
$custom-dark: #000000;
JSON
{
  "hex": "#333a0f",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 15
  },
  "hsl": {
    "h": 69.767,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33164,
    "c": 0.06394,
    "h": 117.9
  },
  "luminance": 0.03764
}

Semantic roles & 50–950 ramp

primary
#333A0F
secondary
#3B3074
accent
#46E25F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #333A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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