#334109#334109

#334109 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.1% C 0.079 H 123.1°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#334109
RGBrgb(51, 65, 9)
HSLhsl(75, 76%, 15%)
HSVhsv(75, 86%, 25%)
CMYKcmyk(21.5%, 0%, 86.2%, 74.5%)
CIE-LABlab(25.27, -14.70, 29.93)
CIE-LCHlch(25.27, 33.35, 116.16°)
OKLaboklab(35.08% -0.0431 0.0661)
OKLCHoklch(35.08% 0.079 123.1)
XYZxyz(3.3049, 4.5041, 0.9537)
Luminance0.0450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334109 #170941
analogous
#413309 #334109 #174109
triadic
#334109 #093341 #410933
tetradic
#334109 #094133 #170941 #410917
square
#334109 #094133 #170941 #410917
split-complementary
#334109 #091741 #330941
monochromatic
#151B04 #151B04 #334109 #5D7710 #87AD18

Accessibility & contrast

On white

11.05
#334109 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#334109 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334109
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334109#FFFFFF#000000##FFFFFF
##3341091.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C01
Deuteranopia (green-blind)
#443C0E
Tritanopia (blue-blind)
#363D36
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #334109;
/* rgb */ color: rgb(51, 65, 9);
/* oklch */ color: oklch(35.1% 0.079 123.1);
Tailwind
colors: {
  custom: {
    50: '#6d754d',
    500: '#334109',
    950: '#000000',
  },
}
SCSS
$custom: #334109;
$custom-light: #6d754d;
$custom-dark: #000000;
JSON
{
  "hex": "#334109",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 9
  },
  "hsl": {
    "h": 75,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.3508,
    "c": 0.07887,
    "h": 123.1
  },
  "luminance": 0.04504
}

Semantic roles & 50–950 ramp

primary
#334109
secondary
#3D277F
accent
#36F265
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #334109

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

Preview Lab → · Contrast checker → · Palette generator →

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