#334603#334603

#334603 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.5% C 0.090 H 125.5°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#334603
RGBrgb(51, 70, 3)
HSLhsl(77, 92%, 14%)
HSVhsv(77, 96%, 27%)
CMYKcmyk(27.1%, 0%, 95.7%, 72.5%)
CIE-LABlab(26.99, -17.83, 33.94)
CIE-LCHlch(26.99, 38.34, 117.71°)
OKLaboklab(36.46% -0.0522 0.0732)
OKLCHoklch(36.46% 0.09 125.5)
XYZxyz(3.5719, 5.0906, 0.8805)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334603 #160346
analogous
#463803 #334603 #124603
triadic
#334603 #033346 #460333
tetradic
#334603 #034638 #160346 #460312
square
#334603 #034638 #160346 #460312
split-complementary
#334603 #031246 #380346
monochromatic
#151D01 #151D01 #334603 #5E8106 #89BB08

Accessibility & contrast

On white

10.41
#334603 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#334603 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334603
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334603#FFFFFF#000000##FFFFFF
##3346031.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#48400A
Tritanopia (blue-blind)
#36423A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #334603;
/* rgb */ color: rgb(51, 70, 3);
/* oklch */ color: oklch(36.5% 0.090 125.5);
Tailwind
colors: {
  custom: {
    50: '#6e794b',
    500: '#334603',
    950: '#000000',
  },
}
SCSS
$custom: #334603;
$custom-light: #6e794b;
$custom-dark: #000000;
JSON
{
  "hex": "#334603",
  "rgb": {
    "r": 51,
    "g": 70,
    "b": 3
  },
  "hsl": {
    "h": 77.015,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.3646,
    "c": 0.08985,
    "h": 125.5
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#334603
secondary
#3B1D87
accent
#29FF66
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #334603

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

Preview Lab → · Contrast checker → · Palette generator →

#334603 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva