#334E0D#334E0D

#334E0D is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.095 H 130.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#334E0D
RGBrgb(51, 78, 13)
HSLhsl(85, 71%, 18%)
HSVhsv(85, 83%, 31%)
CMYKcmyk(34.6%, 0%, 83.3%, 69.4%)
CIE-LABlab(29.87, -21.46, 32.74)
CIE-LCHlch(29.87, 39.14, 123.24°)
OKLaboklab(38.82% -0.0611 0.0727)
OKLCHoklch(38.82% 0.095 130)
XYZxyz(4.1623, 6.1815, 1.3545)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334E0D #280D4E
analogous
#4E480D #334E0D #124E0D
triadic
#334E0D #0D334E #4E0D33
tetradic
#334E0D #0D4E48 #280D4E #4E0D12
square
#334E0D #0D4E48 #280D4E #4E0D12
split-complementary
#334E0D #0D124E #480D4E
monochromatic
#111A04 #111A04 #334E0D #558216 #78B71E

Accessibility & contrast

On white

9.39
#334E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#334E0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334E0D
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334E0D#FFFFFF#000000##FFFFFF
##334E0D1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524801
Deuteranopia (green-blind)
#4E4614
Tritanopia (blue-blind)
#354A42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334e0d;
/* rgb */ color: rgb(51, 78, 13);
/* oklch */ color: oklch(38.8% 0.095 130.0);
Tailwind
colors: {
  custom: {
    50: '#6e7f51',
    500: '#334e0d',
    950: '#000000',
  },
}
SCSS
$custom: #334e0d;
$custom-light: #6e7f51;
$custom-dark: #000000;
JSON
{
  "hex": "#334e0d",
  "rgb": {
    "r": 51,
    "g": 78,
    "b": 13
  },
  "hsl": {
    "h": 84.923,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38816,
    "c": 0.095,
    "h": 130
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#334E0D
secondary
#542E89
accent
#3AEE85
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #334E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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