#334F13#334F13

#334F13 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.2% C 0.092 H 131.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#334F13
RGBrgb(51, 79, 19)
HSLhsl(88, 61%, 19%)
HSVhsv(88, 76%, 31%)
CMYKcmyk(35.4%, 0%, 75.9%, 69%)
CIE-LABlab(30.26, -21.53, 30.62)
CIE-LCHlch(30.26, 37.44, 125.11°)
OKLaboklab(39.15% -0.0608 0.0693)
OKLCHoklch(39.15% 0.092 131.2)
XYZxyz(4.2787, 6.3426, 1.6148)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334F13 #2F134F
analogous
#4F4D13 #334F13 #154F13
triadic
#334F13 #13334F #4F1333
tetradic
#334F13 #134F4D #2F134F #4F1315
square
#334F13 #134F4D #2F134F #4F1315
split-complementary
#334F13 #13154F #4D134F
monochromatic
#101906 #131E07 #334F13 #53801F #73B22B

Accessibility & contrast

On white

9.26
#334F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#334F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334F13
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334F13#FFFFFF#000000##FFFFFF
##334F131.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490A
Deuteranopia (green-blind)
#4F4718
Tritanopia (blue-blind)
#344B43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #334f13;
/* rgb */ color: rgb(51, 79, 19);
/* oklch */ color: oklch(39.2% 0.092 131.2);
Tailwind
colors: {
  custom: {
    50: '#6d8055',
    500: '#334f13',
    950: '#000000',
  },
}
SCSS
$custom: #334f13;
$custom-light: #6d8055;
$custom-dark: #000000;
JSON
{
  "hex": "#334f13",
  "rgb": {
    "r": 51,
    "g": 79,
    "b": 19
  },
  "hsl": {
    "h": 88,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39152,
    "c": 0.09221,
    "h": 131.2
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#334F13
secondary
#5C3688
accent
#43E48F
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334F13

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

Preview Lab → · Contrast checker → · Palette generator →

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