#354818#354818

#354818 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.4% C 0.076 H 127.9°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#354818
RGBrgb(53, 72, 24)
HSLhsl(84, 50%, 19%)
HSVhsv(84, 67%, 28%)
CMYKcmyk(26.4%, 0%, 66.7%, 71.8%)
CIE-LABlab(28.00, -16.46, 25.79)
CIE-LCHlch(28.00, 30.59, 122.55°)
OKLaboklab(37.37% -0.0465 0.0598)
OKLCHoklch(37.37% 0.076 127.9)
XYZxyz(3.9504, 5.4575, 1.7092)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354818 #2B1848
analogous
#484318 #354818 #1D4818
triadic
#354818 #183548 #481835
tetradic
#354818 #184843 #2B1848 #48181D
square
#354818 #184843 #2B1848 #48181D
split-complementary
#354818 #181D48 #431848
monochromatic
#111708 #131A09 #354818 #577627 #79A437

Accessibility & contrast

On white

10.04
#354818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#354818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354818
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354818#FFFFFF#000000##FFFFFF
##3548181.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4313
Deuteranopia (green-blind)
#49421B
Tritanopia (blue-blind)
#37453E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #354818;
/* rgb */ color: rgb(53, 72, 24);
/* oklch */ color: oklch(37.4% 0.076 127.9);
Tailwind
colors: {
  custom: {
    50: '#6e7b57',
    500: '#354818',
    950: '#000000',
  },
}
SCSS
$custom: #354818;
$custom-light: #6e7b57;
$custom-dark: #000000;
JSON
{
  "hex": "#354818",
  "rgb": {
    "r": 53,
    "g": 72,
    "b": 24
  },
  "hsl": {
    "h": 83.75,
    "s": 50,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37368,
    "c": 0.07578,
    "h": 127.9
  },
  "luminance": 0.05458
}

Semantic roles & 50–950 ramp

primary
#354818
secondary
#573D7F
accent
#4EDA85
background
#F6F7F5
surface
#ECEDE9
border
#C7C8C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #354818

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

Preview Lab → · Contrast checker → · Palette generator →

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