#334809#334809

#334809 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.1% C 0.089 H 127.1°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#334809
RGBrgb(51, 72, 9)
HSLhsl(80, 78%, 16%)
HSVhsv(80, 88%, 28%)
CMYKcmyk(29.2%, 0%, 87.5%, 71.8%)
CIE-LABlab(27.73, -18.56, 32.22)
CIE-LCHlch(27.73, 37.18, 119.94°)
OKLaboklab(37.07% -0.0536 0.0709)
OKLCHoklch(37.07% 0.089 127.1)
XYZxyz(3.7319, 5.3582, 1.0960)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334809 #1E0948
analogous
#483D09 #334809 #134809
triadic
#334809 #093348 #480933
tetradic
#334809 #09483D #1E0948 #480913
square
#334809 #09483D #1E0948 #480913
split-complementary
#334809 #091348 #3D0948
monochromatic
#131B03 #131B03 #334809 #5A7E10 #80B517

Accessibility & contrast

On white

10.14
#334809 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#334809 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334809
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334809#FFFFFF#000000##FFFFFF
##3348091.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#494110
Tritanopia (blue-blind)
#35443C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #334809;
/* rgb */ color: rgb(51, 72, 9);
/* oklch */ color: oklch(37.1% 0.089 127.1);
Tailwind
colors: {
  custom: {
    50: '#6d7b4f',
    500: '#334809',
    950: '#000000',
  },
}
SCSS
$custom: #334809;
$custom-light: #6d7b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#334809",
  "rgb": {
    "r": 51,
    "g": 72,
    "b": 9
  },
  "hsl": {
    "h": 80,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.37073,
    "c": 0.08886,
    "h": 127.1
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#334809
secondary
#472785
accent
#34F474
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334809

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

Preview Lab → · Contrast checker → · Palette generator →

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