#333A07#333A07

#333A07 is a dark, moderate yellow. Relative luminance 0.037; OKLCH L 33.1% C 0.071 H 117.4°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#333A07
RGBrgb(51, 58, 7)
HSLhsl(68, 78%, 13%)
HSVhsv(68, 88%, 23%)
CMYKcmyk(12.1%, 0%, 87.9%, 77.3%)
CIE-LABlab(22.81, -10.75, 28.31)
CIE-LCHlch(22.81, 30.28, 110.79°)
OKLaboklab(33.09% -0.0324 0.0626)
OKLCHoklch(33.09% 0.071 117.4)
XYZxyz(2.9167, 3.7453, 0.7702)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333A07 #0E073A
analogous
#3A2707 #333A07 #1A3A07
triadic
#333A07 #07333A #3A0733
tetradic
#333A07 #073A27 #0E073A #3A071A
square
#333A07 #073A27 #0E073A #3A071A
split-complementary
#333A07 #071A3A #27073A
monochromatic
#181B03 #181B03 #333A07 #63710E #93A714

Accessibility & contrast

On white

12.01
#333A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333A07
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333A07#FFFFFF#000000##FFFFFF
##333A071.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#3E370B
Tritanopia (blue-blind)
#373630
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #333a07;
/* rgb */ color: rgb(51, 58, 7);
/* oklch */ color: oklch(33.1% 0.071 117.4);
Tailwind
colors: {
  custom: {
    50: '#6d704b',
    500: '#333a07',
    950: '#000000',
  },
}
SCSS
$custom: #333a07;
$custom-light: #6d704b;
$custom-dark: #000000;
JSON
{
  "hex": "#333a07",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 7
  },
  "hsl": {
    "h": 68.235,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.3309,
    "c": 0.07052,
    "h": 117.4
  },
  "luminance": 0.03745
}

Semantic roles & 50–950 ramp

primary
#333A07
secondary
#2F2379
accent
#33F54D
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #333A07

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

Preview Lab → · Contrast checker → · Palette generator →

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