#334B0D#334B0D

#334B0D is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.0% C 0.091 H 128.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#334B0D
RGBrgb(51, 75, 13)
HSLhsl(83, 70%, 17%)
HSVhsv(83, 83%, 29%)
CMYKcmyk(32%, 0%, 82.7%, 70.6%)
CIE-LABlab(28.81, -19.90, 31.73)
CIE-LCHlch(28.81, 37.45, 122.10°)
OKLaboklab(37.96% -0.0569 0.0706)
OKLCHoklch(37.96% 0.091 128.9)
XYZxyz(3.9540, 5.7649, 1.2851)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334B0D #250D4B
analogous
#4B440D #334B0D #144B0D
triadic
#334B0D #0D334B #4B0D33
tetradic
#334B0D #0D4B44 #250D4B #4B0D14
square
#334B0D #0D4B44 #250D4B #4B0D14
split-complementary
#334B0D #0D144B #440D4B
monochromatic
#121A05 #121A05 #334B0D #567F16 #7AB31F

Accessibility & contrast

On white

9.75
#334B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334B0D
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334B0D#FFFFFF#000000##FFFFFF
##334B0D1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #334b0d;
/* rgb */ color: rgb(51, 75, 13);
/* oklch */ color: oklch(38.0% 0.091 128.9);
Tailwind
colors: {
  custom: {
    50: '#6d7d51',
    500: '#334b0d',
    950: '#000000',
  },
}
SCSS
$custom: #334b0d;
$custom-light: #6d7d51;
$custom-dark: #000000;
JSON
{
  "hex": "#334b0d",
  "rgb": {
    "r": 51,
    "g": 75,
    "b": 13
  },
  "hsl": {
    "h": 83.226,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37958,
    "c": 0.09068,
    "h": 128.9
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

primary
#334B0D
secondary
#502E86
accent
#3BED80
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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