#334A09#334A09

#334A09 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.6% C 0.092 H 128.0°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#334A09
RGBrgb(51, 74, 9)
HSLhsl(81, 78%, 16%)
HSVhsv(81, 88%, 29%)
CMYKcmyk(31.1%, 0%, 87.8%, 71%)
CIE-LABlab(28.44, -19.62, 32.86)
CIE-LCHlch(28.44, 38.27, 120.84°)
OKLaboklab(37.65% -0.0565 0.0723)
OKLCHoklch(37.65% 0.092 128)
XYZxyz(3.8633, 5.6210, 1.1398)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334A09 #20094A
analogous
#4A4109 #334A09 #134A09
triadic
#334A09 #09334A #4A0933
tetradic
#334A09 #094A41 #20094A #4A0913
square
#334A09 #094A41 #20094A #4A0913
split-complementary
#334A09 #09134A #41094A
monochromatic
#131B03 #131B03 #334A09 #598110 #7EB716

Accessibility & contrast

On white

9.89
#334A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#334A09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334A09
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334A09#FFFFFF#000000##FFFFFF
##334A091.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4400
Deuteranopia (green-blind)
#4B4310
Tritanopia (blue-blind)
#35463E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #334a09;
/* rgb */ color: rgb(51, 74, 9);
/* oklch */ color: oklch(37.6% 0.092 128.0);
Tailwind
colors: {
  custom: {
    50: '#6d7c4f',
    500: '#334a09',
    950: '#000000',
  },
}
SCSS
$custom: #334a09;
$custom-light: #6d7c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#334a09",
  "rgb": {
    "r": 51,
    "g": 74,
    "b": 9
  },
  "hsl": {
    "h": 81.231,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.37645,
    "c": 0.09169,
    "h": 128
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#334A09
secondary
#492787
accent
#33F578
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334A09

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

Preview Lab → · Contrast checker → · Palette generator →

#334A09 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva