#334B09#334B09

#334B09 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.9% C 0.093 H 128.4°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#334B09
RGBrgb(51, 75, 9)
HSLhsl(82, 79%, 16%)
HSVhsv(82, 88%, 29%)
CMYKcmyk(32%, 0%, 88%, 70.6%)
CIE-LABlab(28.79, -20.14, 33.18)
CIE-LCHlch(28.79, 38.82, 121.26°)
OKLaboklab(37.93% -0.0579 0.0729)
OKLCHoklch(37.93% 0.093 128.4)
XYZxyz(3.9306, 5.7556, 1.1622)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334B09 #21094B
analogous
#4B4209 #334B09 #124B09
triadic
#334B09 #09334B #4B0933
tetradic
#334B09 #094B42 #21094B #4B0912
square
#334B09 #094B42 #21094B #4B0912
split-complementary
#334B09 #09124B #42094B
monochromatic
#131B03 #131B03 #334B09 #588210 #7DB816

Accessibility & contrast

On white

9.76
#334B09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#334B09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334B09
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334B09#FFFFFF#000000##FFFFFF
##334B091.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4500
Deuteranopia (green-blind)
#4C4310
Tritanopia (blue-blind)
#35473F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #334b09;
/* rgb */ color: rgb(51, 75, 9);
/* oklch */ color: oklch(37.9% 0.093 128.4);
Tailwind
colors: {
  custom: {
    50: '#6e7d4f',
    500: '#334b09',
    950: '#000000',
  },
}
SCSS
$custom: #334b09;
$custom-light: #6e7d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#334b09",
  "rgb": {
    "r": 51,
    "g": 75,
    "b": 9
  },
  "hsl": {
    "h": 81.818,
    "s": 78.571,
    "l": 16.471
  },
  "oklch": {
    "l": 0.37931,
    "c": 0.09311,
    "h": 128.4
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

primary
#334B09
secondary
#4B2888
accent
#33F579
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334B09

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

Preview Lab → · Contrast checker → · Palette generator →

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