#334418#334418

#334418 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.1% C 0.070 H 127.3°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#334418
RGBrgb(51, 68, 24)
HSLhsl(83, 48%, 18%)
HSVhsv(83, 65%, 27%)
CMYKcmyk(25%, 0%, 64.7%, 73.3%)
CIE-LABlab(26.46, -15.14, 24.00)
CIE-LCHlch(26.46, 28.38, 122.24°)
OKLaboklab(36.08% -0.0427 0.0561)
OKLCHoklch(36.08% 0.07 127.3)
XYZxyz(3.5972, 4.9039, 1.6210)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334418 #291844
analogous
#443F18 #334418 #1D4418
triadic
#334418 #183344 #441833
tetradic
#334418 #18443F #291844 #44181D
square
#334418 #18443F #291844 #44181D
split-complementary
#334418 #181D44 #3F1844
monochromatic
#111708 #111708 #334418 #557128 #779E38

Accessibility & contrast

On white

10.60
#334418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#334418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334418
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334418#FFFFFF#000000##FFFFFF
##3344181.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F13
Deuteranopia (green-blind)
#453E1B
Tritanopia (blue-blind)
#35413A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #334418;
/* rgb */ color: rgb(51, 68, 24);
/* oklch */ color: oklch(36.1% 0.070 127.3);
Tailwind
colors: {
  custom: {
    50: '#6c7857',
    500: '#334418',
    950: '#000000',
  },
}
SCSS
$custom: #334418;
$custom-light: #6c7857;
$custom-dark: #000000;
JSON
{
  "hex": "#334418",
  "rgb": {
    "r": 51,
    "g": 68,
    "b": 24
  },
  "hsl": {
    "h": 83.182,
    "s": 47.826,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36083,
    "c": 0.07048,
    "h": 127.3
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#334418
secondary
#553D7B
accent
#50D785
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#070803
muted
#7A7B78

Preview Lab

Preview with #334418

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

Preview Lab → · Contrast checker → · Palette generator →

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