#333A08#333A08

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

Color values

HEX#333A08
RGBrgb(51, 58, 8)
HSLhsl(68, 76%, 13%)
HSVhsv(68, 86%, 23%)
CMYKcmyk(12.1%, 0%, 86.2%, 77.3%)
CIE-LABlab(22.82, -10.68, 27.91)
CIE-LCHlch(22.82, 29.89, 110.95°)
OKLaboklab(33.1% -0.0321 0.0619)
OKLCHoklch(33.1% 0.07 117.4)
XYZxyz(2.9222, 3.7475, 0.7991)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333A08 #0F083A
analogous
#3A2808 #333A08 #1A3A08
triadic
#333A08 #08333A #3A0833
tetradic
#333A08 #083A28 #0F083A #3A081A
square
#333A08 #083A28 #0F083A #3A081A
split-complementary
#333A08 #081A3A #28083A
monochromatic
#181B04 #181B04 #333A08 #62700F #92A617

Accessibility & contrast

On white

12.00
#333A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333A08
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333A08#FFFFFF#000000##FFFFFF
##333A081.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333a08;
/* rgb */ color: rgb(51, 58, 8);
/* oklch */ color: oklch(33.1% 0.070 117.4);
Tailwind
colors: {
  custom: {
    50: '#6d704c',
    500: '#333a08',
    950: '#000000',
  },
}
SCSS
$custom: #333a08;
$custom-light: #6d704c;
$custom-dark: #000000;
JSON
{
  "hex": "#333a08",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 8
  },
  "hsl": {
    "h": 68.4,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.33099,
    "c": 0.06975,
    "h": 117.4
  },
  "luminance": 0.03747
}

Semantic roles & 50–950 ramp

primary
#333A08
secondary
#312579
accent
#35F250
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #333A08

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

Preview Lab → · Contrast checker → · Palette generator →

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