#334A0D#334A0D

#334A0D is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.7% C 0.089 H 128.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#334A0D
RGBrgb(51, 74, 13)
HSLhsl(83, 70%, 17%)
HSVhsv(83, 82%, 29%)
CMYKcmyk(31.1%, 0%, 82.4%, 71%)
CIE-LABlab(28.46, -19.38, 31.39)
CIE-LCHlch(28.46, 36.89, 121.69°)
OKLaboklab(37.67% -0.0555 0.0699)
OKLCHoklch(37.67% 0.089 128.4)
XYZxyz(3.8867, 5.6303, 1.2627)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334A0D #240D4A
analogous
#4A430D #334A0D #154A0D
triadic
#334A0D #0D334A #4A0D33
tetradic
#334A0D #0D4A43 #240D4A #4A0D15
square
#334A0D #0D4A43 #240D4A #4A0D15
split-complementary
#334A0D #0D154A #430D4A
monochromatic
#121A05 #121A05 #334A0D #577E16 #7BB21F

Accessibility & contrast

On white

9.88
#334A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#334A0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334A0D
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334A0D#FFFFFF#000000##FFFFFF
##334A0D1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4403
Deuteranopia (green-blind)
#4B4313
Tritanopia (blue-blind)
#35463E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #334a0d;
/* rgb */ color: rgb(51, 74, 13);
/* oklch */ color: oklch(37.7% 0.089 128.4);
Tailwind
colors: {
  custom: {
    50: '#6d7c51',
    500: '#334a0d',
    950: '#000000',
  },
}
SCSS
$custom: #334a0d;
$custom-light: #6d7c51;
$custom-dark: #000000;
JSON
{
  "hex": "#334a0d",
  "rgb": {
    "r": 51,
    "g": 74,
    "b": 13
  },
  "hsl": {
    "h": 82.623,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37672,
    "c": 0.08923,
    "h": 128.4
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#334A0D
secondary
#4F2E85
accent
#3BED7E
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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